# HG changeset patch # User zas_ # Date 1242333934 0 # Node ID 2a96ff43ab3eccc647e11af24da9dd450b313952 # Parent fe9ac4a5c969e7dc13ebe3d50a7c3ce3101f1822 Fix up unused variables warnings. diff -r fe9ac4a5c969 -r 2a96ff43ab3e src/pan-view.c --- a/src/pan-view.c Thu May 14 20:32:14 2009 +0000 +++ b/src/pan-view.c Thu May 14 20:45:34 2009 +0000 @@ -1430,13 +1430,16 @@ 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 @@ g_free(text); } } + } #endif } diff -r fe9ac4a5c969 -r 2a96ff43ab3e src/view_file.c --- a/src/view_file.c Thu May 14 20:32:14 2009 +0000 +++ b/src/view_file.c Thu May 14 20:45:34 2009 +0000 @@ -865,7 +865,6 @@ static gboolean vf_thumb_next(ViewFile *vf) { FileData *fd = NULL; - gint ret; if (!GTK_WIDGET_REALIZED(vf->listview)) {