Robert Shearman : ole: Initialise hrref so as not to display garbage in the trace.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jan 11 05:35:24 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 781970f001fadfc6fed3e2434af9a18516eb9fc5
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=781970f001fadfc6fed3e2434af9a18516eb9fc5

Author: Robert Shearman <rob at codeweavers.com>
Date:   Wed Jan 11 12:09:17 2006 +0100

ole: Initialise hrref so as not to display garbage in the trace.

---

 dlls/ole32/marshal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ole32/marshal.c b/dlls/ole32/marshal.c
index 313cbd2..ef3df6e 100644
--- a/dlls/ole32/marshal.c
+++ b/dlls/ole32/marshal.c
@@ -421,7 +421,7 @@ static HRESULT ifproxy_get_public_ref(st
         hr = proxy_manager_get_remunknown(This->parent, &remunk);
         if (hr == S_OK)
         {
-            HRESULT hrref;
+            HRESULT hrref = S_OK;
             REMINTERFACEREF rif;
             rif.ipid = This->stdobjref.ipid;
             rif.cPublicRefs = NORMALEXTREFS;




More information about the wine-cvs mailing list