Commit fca68243 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

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

parent 59ec7287
...@@ -1647,7 +1647,7 @@ static HRESULT interp_delete_ident(exec_ctx_t *ctx) ...@@ -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); hres = disp_delete(exprval.u.idref.disp, exprval.u.idref.id, &ret);
IDispatch_Release(exprval.u.idref.disp); IDispatch_Release(exprval.u.idref.disp);
if(FAILED(hres)) if(FAILED(hres))
return ret; return hres;
break; break;
case EXPRVAL_INVALID: case EXPRVAL_INVALID:
ret = TRUE; ret = TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment