mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user