]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - parser.c
Fix a missing uninitialized value which caused typedefs within functions to cause...
[xonotic/gmqcc.git] / 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;