changeset 830:a06d885de883

Silent unused variable warning.
author zas_
date Sat, 14 Jun 2008 06:52:52 +0000
parents a204fc1d1145
children b02a24ebf441
files src/view_file_list.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/view_file_list.c	Fri Jun 13 21:32:58 2008 +0000
+++ b/src/view_file_list.c	Sat Jun 14 06:52:52 2008 +0000
@@ -723,7 +723,6 @@
 
 static void vflist_setup_iter(ViewFile *vf, GtkTreeStore *store, GtkTreeIter *iter, FileData *fd)
 {
-	int i;
 	gchar *size;
 	gchar *sidecars = NULL;
 
@@ -754,9 +753,11 @@
 					FILE_COLUMN_COLOR, FALSE, -1);
 
 #if !STORE_SET_IS_SLOW					
-
+	{
+	gint i;
 	for (i = 0; i < FILEDATA_MARKS_SIZE; i++)
 		gtk_tree_store_set(store, iter, FILE_COLUMN_MARKS + i, file_data_get_mark(fd, i), -1);
+	}
 #endif
 	g_free(size);
 	if (sidecars)