# HG changeset patch # User zas_ # Date 1217270119 0 # Node ID d7cb8d5714d1a6a00f1a74ba9655ef63716d870f # Parent ffbc9195f47f334d32e37ed5628d035b9a68219b Move declarations at the beginning of blocks. diff -r ffbc9195f47f -r d7cb8d5714d1 src/filedata.c --- a/src/filedata.c Mon Jul 28 18:07:42 2008 +0000 +++ b/src/filedata.c Mon Jul 28 18:35:19 2008 +0000 @@ -1759,6 +1759,7 @@ 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 @@ num = g_list_length(list); errors = g_new(int, num); - GList *work = list; + work = list; i = 0; while (work) { @@ -1790,6 +1791,7 @@ if (desc && all_errors) { + GList *work; GString *result = g_string_new(""); if (common_errors) @@ -1800,7 +1802,7 @@ g_free(str); } - GList *work = list; + work = list; i = 0; while (work) {