1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

scrobj: Initialize a variable to silence a compiler warning.

This commit is contained in:
Alexandre Julliard 2023-01-26 22:04:50 +01:00
parent 5260a81edc
commit bf0225753a

View File

@ -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;