diff options
author | Jasmine Hassan <[email protected]> | 2012-10-25 18:34:52 +0200 |
---|---|---|
committer | Jasmine Hassan <[email protected]> | 2012-12-22 05:24:16 +0200 |
commit | 558280660418ef9e27e36ddd0619225c691e44b7 (patch) | |
tree | 0bc0a5f4383d989f02ae856d88451cd47203f83c /src/caja-navigation-window-slot.c | |
parent | ab206cf53ff4380c63f031101c36b6bc0c7a8489 (diff) | |
download | caja-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-navigation-window-slot.c')
-rw-r--r-- | src/caja-navigation-window-slot.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/caja-navigation-window-slot.c b/src/caja-navigation-window-slot.c index 36d92808..6c4cfbc6 100644 --- a/src/caja-navigation-window-slot.c +++ b/src/caja-navigation-window-slot.c @@ -133,11 +133,9 @@ caja_navigation_window_slot_update_query_editor (CajaWindowSlot *slot) CajaDirectory *directory; CajaSearchDirectory *search_directory; CajaQuery *query; - CajaNavigationWindow *navigation_window; GtkWidget *query_editor; g_assert (slot->pane->window != NULL); - navigation_window = CAJA_NAVIGATION_WINDOW (slot->pane->window); query_editor = NULL; @@ -192,11 +190,9 @@ static void caja_navigation_window_slot_active (CajaWindowSlot *slot) { CajaNavigationWindow *window; - CajaNavigationWindowSlot *navigation_slot; CajaNavigationWindowPane *pane; int page_num; - navigation_slot = CAJA_NAVIGATION_WINDOW_SLOT (slot); pane = CAJA_NAVIGATION_WINDOW_PANE (slot->pane); window = CAJA_NAVIGATION_WINDOW (slot->pane->window); |