]> de.git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
sometimes I hate travis
authorWolfgang Bumiller <wry.git@bumiller.com>
Tue, 7 Jan 2014 14:04:29 +0000 (15:04 +0100)
committerWolfgang Bumiller <wry.git@bumiller.com>
Tue, 7 Jan 2014 14:04:29 +0000 (15:04 +0100)
parser.c

index 5a8223468302184405c9a678920026802c9d982d..eaa14903d7681416e69b53fdbbc76c121bc678a0 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -6246,6 +6246,7 @@ void parser_cleanup(parser_t *parser)
 }
 
 static bool parser_set_coverage_func(parser_t *parser, ir_builder *ir) {
+    size_t          i;
     ast_expression *expr;
     ast_value      *cov;
     ast_function   *func;
@@ -6254,7 +6255,7 @@ static bool parser_set_coverage_func(parser_t *parser, ir_builder *ir) {
         return true;
 
     func = NULL;
-    for (size_t i = 0; i != vec_size(parser->functions); ++i) {
+    for (i = 0; i != vec_size(parser->functions); ++i) {
         if (!strcmp(parser->functions[i]->name, "coverage")) {
             func = parser->functions[i];
             break;