]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Fix a missing uninitialized value which caused typedefs within functions to cause...
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 25 Nov 2012 14:30:31 +0000 (15:30 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 25 Nov 2012 14:30:31 +0000 (15:30 +0100)
parser.c

index b9d70065004c01f7e2220696bfd37090a2093d48..f0b724d57bd262629f2d1ca0cf13a44011ce1f3e 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -2299,7 +2299,7 @@ static bool parse_block_into(parser_t *parser, ast_block *block, bool warnreturn
 
     while (parser->tok != TOKEN_EOF && parser->tok < TOKEN_ERROR)
     {
-        ast_expression *expr;
+        ast_expression *expr = NULL;
         if (parser->tok == '}')
             break;