summaryrefslogtreecommitdiff
path: root/src/caja-places-sidebar.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-03-05 02:14:49 +0100
committerZenWalker <[email protected]>2019-03-07 00:00:20 +0100
commitfc9a637006bab37dbb73c678983032111831a623 (patch)
treecd6e7ccb63135b737b244a89f0589603e3aecf1c /src/caja-places-sidebar.c
parentee16c212d5ce11f6d782f86bb62302356b163462 (diff)
downloadcaja-fc9a637006bab37dbb73c678983032111831a623.tar.bz2
caja-fc9a637006bab37dbb73c678983032111831a623.tar.xz
avoid variables set but not used
Diffstat (limited to 'src/caja-places-sidebar.c')
-rw-r--r--src/caja-places-sidebar.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/caja-places-sidebar.c b/src/caja-places-sidebar.c
index 868ff725..0a479095 100644
--- a/src/caja-places-sidebar.c
+++ b/src/caja-places-sidebar.c
@@ -2929,9 +2929,7 @@ bookmarks_motion_event_cb (GtkWidget *widget,
CajaPlacesSidebar *sidebar)
{
GtkTreePath *path;
- GtkTreeModel *model;
- model = GTK_TREE_MODEL (sidebar->filter_model);
path = NULL;
if (over_eject_button (sidebar, event->x, event->y, &path)) {
@@ -3073,11 +3071,8 @@ icon_cell_renderer_func (GtkTreeViewColumn *column,
GtkTreeIter *iter,
gpointer user_data)
{
- CajaPlacesSidebar *sidebar;
PlaceType type;
- sidebar = user_data;
-
gtk_tree_model_get (model, iter,
PLACES_SIDEBAR_COLUMN_ROW_TYPE, &type,
-1);