Module: wine Branch: master Commit: 6bd291605cffa09df8fa97b61a719bab2197318f URL: https://source.winehq.org/git/wine.git/?a=commit;h=6bd291605cffa09df8fa97b61...
Author: Paul Gofman pgofman@codeweavers.com Date: Mon Jun 21 20:48:18 2021 +0300
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
---
dlls/jscript/parser.y | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/jscript/parser.y b/dlls/jscript/parser.y index 3f5f93fcc0c..73c03731fd4 100644 --- a/dlls/jscript/parser.y +++ b/dlls/jscript/parser.y @@ -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; }