]> granicus.if.org Git - jq/commitdiff
Squash a warning on some GCC versions
authorStephen Dolan <mu@netsoc.tcd.ie>
Fri, 31 May 2013 11:15:58 +0000 (12:15 +0100)
committerStephen Dolan <mu@netsoc.tcd.ie>
Fri, 31 May 2013 11:15:58 +0000 (12:15 +0100)
jv_print.c

index 9a3241a7897a6ea961c3004350cb24ef6d47f2ce..f8edf335c405cf547843fdc8b05ecbbf08a50ebc 100644 (file)
@@ -195,7 +195,7 @@ static void jv_dump_term(struct dtoa_context* C, jv x, int flags, int indent, FI
       put_space(indent+INDENT, F, S);
     }
     int first = 1;
-    int i;
+    int i = 0;
     jv keyset = jv_null();
     while (1) {
       jv key, value;