Commit e374449e authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

jscript: Get rid of unused hres.

Spotted by Michael Stefaniuc.
parent 87d6e238
...@@ -771,15 +771,13 @@ static HRESULT interp_end_finally(exec_ctx_t *ctx) ...@@ -771,15 +771,13 @@ static HRESULT interp_end_finally(exec_ctx_t *ctx)
assert(is_bool(stack_top(ctx))); assert(is_bool(stack_top(ctx)));
if(!get_bool(stack_top(ctx))) { if(!get_bool(stack_top(ctx))) {
HRESULT hres;
TRACE("passing exception\n"); TRACE("passing exception\n");
jsval_release(v); jsval_release(v);
stack_popn(ctx, 1); stack_popn(ctx, 1);
ctx->script->ei.val = stack_pop(ctx); ctx->script->ei.val = stack_pop(ctx);
return SUCCEEDED(hres) ? DISP_E_EXCEPTION : hres; return DISP_E_EXCEPTION;
} }
stack_popn(ctx, 2); stack_popn(ctx, 2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment