jscript: Remove an incorrect and unnecessary error check.

This commit is contained in:
Alexandre Julliard 2010-10-09 16:48:23 +02:00
parent 58825125ce
commit 33d091fef6

View File

@ -105,8 +105,6 @@ static HRESULT Error_toString(script_ctx_t *ctx, vdisp_t *vthis, WORD flags,
msg = NULL;
}else {
ret = SysAllocString(object_errorW);
if(!V_BSTR(retv))
hres = E_OUTOFMEMORY;
}
}