initialize the vector member array so that 'cleanup' won't delete uninitialized pointers

This commit is contained in:
Wolfgang Bumiller 2013-04-23 16:54:05 +02:00
parent 3d9a06591a
commit f6d554874b

View file

@ -5114,7 +5114,7 @@ static bool parse_variable(parser_t *parser, ast_block *localblock, bool nofield
bool cleanvar = true;
bool wasarray = false;
ast_member *me[3];
ast_member *me[3] = { NULL, NULL, NULL };
if (!localblock && is_static)
parseerror(parser, "`static` qualifier is not supported in global scope");