Alistair Leslie-Hughes : mscoree: Correct possible uninitialized variable ( clang).

Alexandre Julliard julliard at winehq.org
Thu Jun 7 13:39:17 CDT 2012


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

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Tue Jan 31 18:56:53 2012 +1100

mscoree: Correct possible uninitialized variable (clang).

---

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

diff --git a/dlls/mscoree/corruntimehost.c b/dlls/mscoree/corruntimehost.c
index d5c94c1..0262757 100644
--- a/dlls/mscoree/corruntimehost.c
+++ b/dlls/mscoree/corruntimehost.c
@@ -1239,7 +1239,7 @@ HRESULT create_monodata(REFIID riid, LPVOID *ppObj )
     WCHAR path[CHARS_IN_GUID + ARRAYSIZE(wszCLSIDSlash) + ARRAYSIZE(wszInprocServer32) - 1];
     MonoDomain *domain;
     MonoAssembly *assembly;
-    ICLRRuntimeInfo *info;
+    ICLRRuntimeInfo *info = NULL;
     RuntimeHost *host;
     HRESULT hr;
     HKEY key;




More information about the wine-cvs mailing list