From 3ea9ebe3a4f712a9e296a5db602b9460e9bd7c41 Mon Sep 17 00:00:00 2001 From: Alexander Borisov Date: Thu, 2 Sep 2021 19:32:52 +0300 Subject: [PATCH] Parser: removed dead store in await; The bug was introduced in 92d10cd761e2. --- src/njs_parser.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/njs_parser.c b/src/njs_parser.c index 24b4d539..e02ae413 100644 --- a/src/njs_parser.c +++ b/src/njs_parser.c @@ -3477,8 +3477,6 @@ njs_parser_await(njs_parser_t *parser, njs_lexer_token_t *token, return NJS_ERROR; } - node = parser->node; - if (scope->in_args) { njs_parser_syntax_error(parser, "await in arguments not supported"); return NJS_ERROR; -- 2.47.3