Module: wine Branch: master Commit: e374449e3052fcb29d60ed3b0b07501a6d014010 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e374449e3052fcb29d60ed3b0b...
Author: Jacek Caban jacek@codeweavers.com Date: Thu Sep 20 15:04:01 2012 +0200
jscript: Get rid of unused hres.
Spotted by Michael Stefaniuc.
---
dlls/jscript/engine.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/dlls/jscript/engine.c b/dlls/jscript/engine.c index 6ff55e9..d1d85fa 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);