From: Nikolay Sivov Subject: [PATCH] ole32: Initialize argument to avoid printing garbage with TRACE() (Coverity) Message-Id: <1396180959.14601.6.camel@laptop> Date: Sun, 30 Mar 2014 16:02:39 +0400 --- dlls/ole32/marshal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/ole32/marshal.c b/dlls/ole32/marshal.c index b308600..d3fcbfd 100644 --- a/dlls/ole32/marshal.c +++ b/dlls/ole32/marshal.c @@ -306,7 +306,7 @@ static HRESULT WINAPI ClientIdentity_QueryMultipleInterfaces(IMultiQI *iface, UL * to query the remote object for it */ if (nonlocal_mqis != 0) { - IRemUnknown *remunk; + IRemUnknown *remunk = NULL; HRESULT hr; IPID *ipid; @@ -439,7 +439,7 @@ static HRESULT WINAPI Proxy_MarshalInterface( /* normal and table-strong marshaling need at least one reference */ if (!stdobjref.cPublicRefs && (mshlflags != MSHLFLAGS_TABLEWEAK)) { - IRemUnknown *remunk; + IRemUnknown *remunk = NULL; hr = proxy_manager_get_remunknown(This, &remunk); if (hr == S_OK) { @@ -476,7 +476,7 @@ static HRESULT WINAPI Proxy_MarshalInterface( { /* we don't have the interface already unmarshaled so we have to * request the object from the server */ - IRemUnknown *remunk; + IRemUnknown *remunk = NULL; IPID *ipid; REMQIRESULT *qiresults = NULL; IID iid = *riid;