[PATCH v2 2/4] jscript: Initialize variable flags in new_variable_declaration().
Paul Gofman
pgofman at codeweavers.com
Mon Jun 21 12:48:18 CDT 2021
Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
---
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;
}
--
2.31.1
More information about the wine-devel
mailing list