mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 09:17:14 +00:00
scrobj: Initialize a variable to silence a compiler warning.
This commit is contained in:
parent
5260a81edc
commit
bf0225753a
|
@ -1188,7 +1188,7 @@ static HRESULT create_scriptlet_instance(struct scriptlet_factory *factory, IDis
|
||||||
struct script_host *factory_host, *host;
|
struct script_host *factory_host, *host;
|
||||||
struct scriptlet_instance *obj;
|
struct scriptlet_instance *obj;
|
||||||
IDispatch *script_dispatch;
|
IDispatch *script_dispatch;
|
||||||
HRESULT hres;
|
HRESULT hres = S_OK;
|
||||||
|
|
||||||
if (!(obj = calloc(1, sizeof(*obj))))
|
if (!(obj = calloc(1, sizeof(*obj))))
|
||||||
return E_OUTOFMEMORY;
|
return E_OUTOFMEMORY;
|
||||||
|
|
Loading…
Reference in a new issue