From 3f1be1d0c30993679ff8ccdd3ca7f0e320976a1c Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Sat, 23 Nov 2013 17:09:57 +0100 Subject: [PATCH] make travis happy --- parser.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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); } -- 2.39.2