Commit 33d091fe authored by Alexandre Julliard's avatar Alexandre Julliard

jscript: Remove an incorrect and unnecessary error check.

parent 58825125
......@@ -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;
}
}
......
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