summaryrefslogtreecommitdiff
path: root/src/caja-window.c
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-10-25 18:34:52 +0200
committerJasmine Hassan <[email protected]>2012-12-22 05:24:16 +0200
commit558280660418ef9e27e36ddd0619225c691e44b7 (patch)
tree0bc0a5f4383d989f02ae856d88451cd47203f83c /src/caja-window.c
parentab206cf53ff4380c63f031101c36b6bc0c7a8489 (diff)
downloadcaja-558280660418ef9e27e36ddd0619225c691e44b7.tar.bz2
caja-558280660418ef9e27e36ddd0619225c691e44b7.tar.xz
[all] silence warnings from GCC 4.6
GCC 4.6 introduced a new warning about variables declared and initialized, but not really used in the function body. Remove all of these occurrences to build cleanly. http://git.gnome.org/browse/nautilus/commit/?id=d4230de8667764e02dbb966b5d806ff78ced2fd5
Diffstat (limited to 'src/caja-window.c')
-rw-r--r--src/caja-window.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/caja-window.c b/src/caja-window.c
index 489e7651..782e2607 100644
--- a/src/caja-window.c
+++ b/src/caja-window.c
@@ -1395,13 +1395,10 @@ refresh_stored_viewers (CajaWindow *window)
static void
load_view_as_menu (CajaWindow *window)
{
- CajaWindowSlot *slot;
GList *node;
int index;
guint merge_id;
- slot = window->details->active_pane->active_slot;
-
if (window->details->short_list_merge_id != 0)
{
gtk_ui_manager_remove_ui (window->details->ui_manager,