From fca682435d5c1ea7d4f1114a24ba69785557d187 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Thu, 15 Oct 2015 13:18:53 +0300 Subject: [PATCH] jscript: Return error code disp_delete() failed with (PVS-Studio). Signed-off-by: Nikolay Sivov Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- dlls/jscript/engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/jscript/engine.c b/dlls/jscript/engine.c index ca08d919ad4..687b06cefed 100644 --- a/dlls/jscript/engine.c +++ b/dlls/jscript/engine.c @@ -1647,7 +1647,7 @@ static HRESULT interp_delete_ident(exec_ctx_t *ctx) hres = disp_delete(exprval.u.idref.disp, exprval.u.idref.id, &ret); IDispatch_Release(exprval.u.idref.disp); if(FAILED(hres)) - return ret; + return hres; break; case EXPRVAL_INVALID: ret = TRUE;