projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb6bd47
)
Move declarations at the beginning of blocks.
author
Laurent Monin
<geeqie@norz.org>
Mon, 28 Jul 2008 18:35:19 +0000
(18:35 +0000)
committer
Laurent Monin
<geeqie@norz.org>
Mon, 28 Jul 2008 18:35:19 +0000
(18:35 +0000)
src/filedata.c
patch
|
blob
|
history
diff --git
a/src/filedata.c
b/src/filedata.c
index
9ce75fb
..
e0ef735
100644
(file)
--- a/
src/filedata.c
+++ b/
src/filedata.c
@@
-1759,6
+1759,7
@@
gchar *file_data_get_error_string(gint error)
gint file_data_sc_verify_ci_list(GList *list, gchar **desc)
{
+ GList *work;
gint all_errors = 0;
gint common_errors = ~0;
gint num;
@@
-1769,7
+1770,7
@@
gint file_data_sc_verify_ci_list(GList *list, gchar **desc)
num = g_list_length(list);
errors = g_new(int, num);
-
GList *
work = list;
+ work = list;
i = 0;
while (work)
{
@@
-1790,6
+1791,7
@@
gint file_data_sc_verify_ci_list(GList *list, gchar **desc)
if (desc && all_errors)
{
+ GList *work;
GString *result = g_string_new("");
if (common_errors)
@@
-1800,7
+1802,7
@@
gint file_data_sc_verify_ci_list(GList *list, gchar **desc)
g_free(str);
}
-
GList *
work = list;
+ work = list;
i = 0;
while (work)
{