From: Richard Jones Date: Mon, 14 Sep 2009 19:14:47 +0000 (+0100) Subject: Move decl out for C99 compliance. X-Git-Tag: 1.0.69~1 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=acbcbfaf39592b0b9c1864740ff0b3baad053b2e;p=libguestfs.git Move decl out for C99 compliance. --- diff --git a/fish/fish.c b/fish/fish.c index 9316eda..9215f4e 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -1086,7 +1086,9 @@ is_true (const char *str) static void free_n_strings (char **str, size_t len) { - for (size_t i = 0; i < len; i++) { + size_t i; + + for (i = 0; i < len; i++) { free (str[i]); } free (str);