jscript: Simplify compile_subscript_stat.

This commit is contained in:
Jacek Caban 2012-03-12 19:21:42 +01:00 committed by Alexandre Julliard
parent 9f83c6061f
commit 4fb1cad149
1 changed files with 1 additions and 4 deletions

View File

@ -1756,10 +1756,7 @@ HRESULT compile_subscript_stat(parser_ctx_t *parser, statement_t *stat, BOOL fro
return hres;
off = parser->compiler->code_off;
if(stat->next)
hres = compile_block_statement(parser->compiler, stat);
else
hres = compile_statement(parser->compiler, NULL, stat);
hres = compile_block_statement(parser->compiler, stat);
if(FAILED(hres))
return hres;