From 3c0c002e2f4301a8f92b43a1f5c6cd56c356d2de Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Sun, 25 Nov 2012 15:30:31 +0100 Subject: [PATCH] Fix a missing uninitialized value which caused typedefs within functions to cause a segfault --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2