Fix up unused variables warnings.
authorLaurent Monin <geeqie@norz.org>
Thu, 14 May 2009 20:45:34 +0000 (20:45 +0000)
committerLaurent Monin <geeqie@norz.org>
Thu, 14 May 2009 20:45:34 +0000 (20:45 +0000)
src/pan-view.c
src/view_file.c

index f1b37b3..88933e8 100644 (file)
@@ -1430,13 +1430,16 @@ static gboolean pan_window_key_press_cb(GtkWidget *widget, GdkEventKey *event, g
 
 static void pan_info_add_exif(PanTextAlignment *ta, FileData *fd)
 {
-       GList *work;
-       gint i;
 
        if (!fd) return;
 
        pan_text_alignment_add(ta, NULL, NULL);
 #if 0
+       {
+       GList *work;
+       gint i;
+
+
        for (i = 0; ExifUIList[i].key; i++)
                {
                gchar *label;
@@ -1480,6 +1483,7 @@ static void pan_info_add_exif(PanTextAlignment *ta, FileData *fd)
                        g_free(text);
                        }
                }
+       }
 #endif
 }
 
index a031b48..3e6dcd2 100644 (file)
@@ -865,7 +865,6 @@ static void vf_thumb_done_cb(ThumbLoader *tl, gpointer data)
 static gboolean vf_thumb_next(ViewFile *vf)
 {
        FileData *fd = NULL;
-       gint ret;
 
        if (!GTK_WIDGET_REALIZED(vf->listview))
                {