From: Wolfgang (Blub) Bumiller Date: Sun, 25 Nov 2012 14:30:31 +0000 (+0100) Subject: Fix a missing uninitialized value which caused typedefs within functions to cause... X-Git-Tag: 0.1.9~274 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3c0c002e2f4301a8f92b43a1f5c6cd56c356d2de;p=xonotic%2Fgmqcc.git Fix a missing uninitialized value which caused typedefs within functions to cause a segfault --- diff --git a/parser.c b/parser.c index b9d7006..f0b724d 100644 --- 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;