jscript: Return error code disp_delete() failed with (PVS-Studio).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2015-10-15 13:18:53 +03:00 committed by Alexandre Julliard
parent 59ec72879f
commit fca682435d
1 changed files with 1 additions and 1 deletions

View File

@ -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;