From ade0b9d67331118c13a2b836684858e251512373 Mon Sep 17 00:00:00 2001 From: wgh19 Date: Sun, 30 Jun 2024 16:22:16 +0800 Subject: [PATCH] fix label_lvalue not initialized --- cxx/quickjs/quickjs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cxx/quickjs/quickjs.c b/cxx/quickjs/quickjs.c index 669d9e9..39bfb2c 100644 --- a/cxx/quickjs/quickjs.c +++ b/cxx/quickjs/quickjs.c @@ -24050,6 +24050,7 @@ static int js_parse_destructuring_element(JSParseState *s, int tok, int is_arg, emit_op(s, OP_dup); } assign_addr = s->cur_func->byte_code.size; + label_lvalue = -1; if (s->token.val == '{') { if (next_token(s)) return -1;