From: James Tabor Date: Mon, 4 Nov 2013 00:58:32 +0000 (+0000) Subject: - Init module handle. X-Git-Tag: ReactOS-0.3.16~838 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=821b74d168d6fbb28202535740d7b5258de9b25b - Init module handle. svn path=/trunk/; revision=60861 --- diff --git a/reactos/win32ss/user/user32/windows/class.c b/reactos/win32ss/user/user32/windows/class.c index 0c638aa4164..b76eafcc3ef 100644 --- a/reactos/win32ss/user/user32/windows/class.c +++ b/reactos/win32ss/user/user32/windows/class.c @@ -300,7 +300,7 @@ GetClassInfoExA( { UNICODE_STRING ClassName = {0}; LPCSTR pszMenuName; - HMODULE hLibModule; + HMODULE hLibModule = NULL; DWORD save_error; BOOL Ret, ClassFound = FALSE; @@ -401,7 +401,7 @@ GetClassInfoExW( { UNICODE_STRING ClassName = {0}; LPWSTR pszMenuName; - HMODULE hLibModule; + HMODULE hLibModule = NULL; DWORD save_error; BOOL Ret, ClassFound = FALSE; @@ -1429,7 +1429,7 @@ RegisterClassExWOWW(WNDCLASSEXW *lpwcx, UNICODE_STRING MenuName = {0}; CLSMENUNAME clsMenuName; ANSI_STRING AnsiMenuName; - HMODULE hLibModule; + HMODULE hLibModule = NULL; DWORD save_error; BOOL ClassFound = FALSE; diff --git a/reactos/win32ss/user/user32/windows/window.c b/reactos/win32ss/user/user32/windows/window.c index 4b8e7d44054..e78410084b1 100644 --- a/reactos/win32ss/user/user32/windows/window.c +++ b/reactos/win32ss/user/user32/windows/window.c @@ -169,7 +169,7 @@ User32CreateWindowEx(DWORD dwExStyle, UNICODE_STRING ClassName; WNDCLASSEXA wceA; WNDCLASSEXW wceW; - HMODULE hLibModule; + HMODULE hLibModule = NULL; DWORD save_error; BOOL Unicode, ClassFound = FALSE; HWND Handle = NULL;