Joris Huizer : shdocvw: Initialise ie pointer as it's tested (Clang).

Alexandre Julliard julliard at winehq.org
Mon Feb 7 16:06:40 CST 2011


Module: wine
Branch: master
Commit: e88caf015ee3a1d669f63e5f5337be5f7f2a09d1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e88caf015ee3a1d669f63e5f5337be5f7f2a09d1

Author: Joris Huizer <joris_huizer at yahoo.com>
Date:   Sat Feb  5 14:37:40 2011 +0100

shdocvw: Initialise ie pointer as it's tested (Clang).

---

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

diff --git a/dlls/shdocvw/iexplore.c b/dlls/shdocvw/iexplore.c
index f8d74ac..9d8668e 100644
--- a/dlls/shdocvw/iexplore.c
+++ b/dlls/shdocvw/iexplore.c
@@ -868,7 +868,7 @@ static BOOL create_ie_window(LPCSTR cmdline)
 
 static ULONG open_dde_url(WCHAR *dde_url)
 {
-    InternetExplorer *ie, *iter;
+    InternetExplorer *ie = NULL, *iter;
     WCHAR *url, *url_end;
     VARIANT urlv;
     HRESULT hres;




More information about the wine-cvs mailing list