From: Alexander Borisov Date: Thu, 2 Sep 2021 16:32:52 +0000 (+0300) Subject: Parser: removed dead store in await; X-Git-Tag: 0.7.0~24 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=3ea9ebe3a4f712a9e296a5db602b9460e9bd7c41;p=njs.git Parser: removed dead store in await; The bug was introduced in 92d10cd761e2. --- 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;