From e374449e3052fcb29d60ed3b0b07501a6d014010 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Thu, 20 Sep 2012 15:04:01 +0200 Subject: [PATCH] jscript: Get rid of unused hres. Spotted by Michael Stefaniuc. --- dlls/jscript/engine.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dlls/jscript/engine.c b/dlls/jscript/engine.c index 6ff55e96973..d1d85fa12e8 100644 --- a/dlls/jscript/engine.c +++ b/dlls/jscript/engine.c @@ -771,15 +771,13 @@ static HRESULT interp_end_finally(exec_ctx_t *ctx) assert(is_bool(stack_top(ctx))); if(!get_bool(stack_top(ctx))) { - HRESULT hres; - TRACE("passing exception\n"); jsval_release(v); stack_popn(ctx, 1); ctx->script->ei.val = stack_pop(ctx); - return SUCCEEDED(hres) ? DISP_E_EXCEPTION : hres; + return DISP_E_EXCEPTION; } stack_popn(ctx, 2);