changeset 1609:2a96ff43ab3e

Fix up unused variables warnings.
author zas_
date Thu, 14 May 2009 20:45:34 +0000
parents fe9ac4a5c969
children 4a3fa267fb65
files src/pan-view.c src/view_file.c
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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
 }
 
--- 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))
 		{