mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:54:05 +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 scriptlet_instance *obj;
|
||||
IDispatch *script_dispatch;
|
||||
HRESULT hres;
|
||||
HRESULT hres = S_OK;
|
||||
|
||||
if (!(obj = calloc(1, sizeof(*obj))))
|
||||
return E_OUTOFMEMORY;
|
||||
|
|
Loading…
Reference in a new issue