]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
make travis happy
authorWolfgang Bumiller <wry.git@bumiller.com>
Sat, 23 Nov 2013 16:09:57 +0000 (17:09 +0100)
committerWolfgang Bumiller <wry.git@bumiller.com>
Sat, 23 Nov 2013 16:09:57 +0000 (17:09 +0100)
parser.c

index 962fe09c9c964390d3c51a8e04f9be7df5ced684..0ff315de88d95c290244e0d95265be673bfd05cc 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -6162,12 +6162,14 @@ static void traverse_that_thing(ast_function *fun)
 #if 1
     ast_iterator iter;
     ast_iterator_begin(&iter, (ast_node*)fun);
+    ast_node *at;
+    size_t depth;
 
-    for (ast_node *at = (ast_node*)fun;
+    for (at = (ast_node*)fun;
          at;
          at = ast_iterator_next(&iter))
     {
-        for (size_t depth = vec_size(iter.path); depth; --depth)
+        for (depth = vec_size(iter.path); depth; --depth)
             con_out("> ");
         con_out("ast_%s (%p)\n", ast_node_type_name[at->nodetype], at);
     }