jscript: Initialize variable flags in new_variable_declaration().

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Paul Gofman 2021-06-21 20:48:18 +03:00 committed by Alexandre Julliard
parent cf751a6dd3
commit 6bd291605c

View file

@ -1149,6 +1149,8 @@ static variable_declaration_t *new_variable_declaration(parser_ctx_t *ctx, const
ret->expr = expr;
ret->next = NULL;
ret->global_next = NULL;
ret->block_scope = FALSE;
ret->constant = FALSE;
return ret;
}