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:
parent
59ec72879f
commit
fca682435d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue