menus.c: In function 'add_menu_recent_capture_file_absolute':
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 11 Oct 2010 20:05:49 +0000 (20:05 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 11 Oct 2010 20:05:49 +0000 (20:05 +0000)
menus.c:4583: warning: unused variable 'recent_files_list'

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34479 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/menus.c

index 4929cd944f55d60b293b94a920add3707c4f07f1..6971ded1ffb15b43dbf87a5226b5d8d24becf208 100644 (file)
@@ -4580,7 +4580,10 @@ menu_open_recent_file_cmd_cb(GtkWidget *widget, gpointer data _U_) {
 static void
 add_menu_recent_capture_file_absolute(gchar *cf_name) {
     GtkWidget *submenu_recent_files;
-    GList *menu_item_list_old, *recent_files_list;
+    GList *menu_item_list_old;
+#ifdef MAIN_MENU_USE_UIMANAGER
+       GList *recent_files_list;
+#endif
     GList *li;
     gchar *widget_cf_name;
     gchar *normalized_cf_name;