From: Wolfgang Bumiller Date: Sat, 23 Nov 2013 16:09:57 +0000 (+0100) Subject: make travis happy X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3f1be1d0c30993679ff8ccdd3ca7f0e320976a1c;p=xonotic%2Fgmqcc.git make travis happy --- diff --git a/parser.c b/parser.c index 962fe09..0ff315d 100644 --- 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); }