Commit bf022575 authored by Alexandre Julliard's avatar Alexandre Julliard

scrobj: Initialize a variable to silence a compiler warning.

parent 5260a81e
......@@ -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;
......
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