# HG changeset patch # User zas_ # Date 1242333934 0 # Node ID 7bfa9fd0cd939f45da36042ecc9f5c54b55083f3 # Parent 74a7f9ea32a1fb2a0e4dda9816641a625890822b Fix up unused variables warnings. diff -r 74a7f9ea32a1 -r 7bfa9fd0cd93 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 74a7f9ea32a1 -r 7bfa9fd0cd93 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)) {