hw/xwin: Fix unused variable warning in winCreateMsgWindow()

winmsgwindow.c:99:11: warning: variable ‘winClass’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
Jon TURNEY 2014-10-02 15:37:50 +01:00
parent 5adfb566fe
commit 549b3175af
1 changed files with 1 additions and 2 deletions

View File

@ -96,7 +96,6 @@ static HWND
winCreateMsgWindow(void) winCreateMsgWindow(void)
{ {
HWND hwndMsg; HWND hwndMsg;
wATOM winClass;
// register window class // register window class
{ {
@ -114,7 +113,7 @@ winCreateMsgWindow(void)
wcx.lpszMenuName = NULL; wcx.lpszMenuName = NULL;
wcx.lpszClassName = WINDOW_CLASS_X_MSG; wcx.lpszClassName = WINDOW_CLASS_X_MSG;
wcx.hIconSm = NULL; wcx.hIconSm = NULL;
winClass = RegisterClassEx(&wcx); RegisterClassEx(&wcx);
} }
// Create the msg window. // Create the msg window.