details: https://hg.nginx.org/njs/rev/f2410c8b80d9 branches: changeset: 1702:f2410c8b80d9 user: Alexander Borisov <alexander.bori...@nginx.com> date: Thu Sep 02 19:32:52 2021 +0300 description: Parser: removed dead store in await;
The bug was introduced in 92d10cd761e2. diffstat: src/njs_parser.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diffs (12 lines): diff -r cd87eaf03e4f -r f2410c8b80d9 src/njs_parser.c --- a/src/njs_parser.c Thu Sep 02 19:32:34 2021 +0300 +++ b/src/njs_parser.c Thu Sep 02 19:32:52 2021 +0300 @@ -3477,8 +3477,6 @@ njs_parser_await(njs_parser_t *parser, n return NJS_ERROR; } - node = parser->node; - if (scope->in_args) { njs_parser_syntax_error(parser, "await in arguments not supported"); return NJS_ERROR; _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel