From 821b74d168d6fbb28202535740d7b5258de9b25b Mon Sep 17 00:00:00 2001 From: James Tabor Date: Mon, 4 Nov 2013 00:58:32 +0000 Subject: [PATCH] - Init module handle. svn path=/trunk/; revision=60861 --- reactos/win32ss/user/user32/windows/class.c | 6 +++--- reactos/win32ss/user/user32/windows/window.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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; -- 2.17.1