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:
parent
5adfb566fe
commit
549b3175af
|
@ -96,7 +96,6 @@ static HWND
|
|||
winCreateMsgWindow(void)
|
||||
{
|
||||
HWND hwndMsg;
|
||||
wATOM winClass;
|
||||
|
||||
// register window class
|
||||
{
|
||||
|
@ -114,7 +113,7 @@ winCreateMsgWindow(void)
|
|||
wcx.lpszMenuName = NULL;
|
||||
wcx.lpszClassName = WINDOW_CLASS_X_MSG;
|
||||
wcx.hIconSm = NULL;
|
||||
winClass = RegisterClassEx(&wcx);
|
||||
RegisterClassEx(&wcx);
|
||||
}
|
||||
|
||||
// Create the msg window.
|
||||
|
|
Loading…
Reference in New Issue