jscript: Silence parser_error warning.

It's triggered on handling implicit semi-colon in the end of statement.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2021-03-12 18:39:17 +01:00 committed by Alexandre Julliard
parent fcaa685ca3
commit c79561f7ae

View file

@ -1468,7 +1468,6 @@ static int parser_error(unsigned *loc, parser_ctx_t *ctx, const char *str)
ctx->error_loc = *loc;
if(ctx->hres == S_OK)
ctx->hres = JS_E_SYNTAX;
WARN("%s: %s\n", debugstr_w(ctx->begin + *loc), str);
return 0;
}