mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
hw/xwin: Remove unused variables in winwindowswm.c
winwindowswm.c: In function ‘ProcWindowsWMQueryVersion’: winwindowswm.c:85:9: warning: unused variable ‘n’ [-Wunused-variable] winwindowswm.c: In function ‘SProcWindowsWMQueryVersion’: winwindowswm.c:565:9: warning: unused variable ‘n’ [-Wunused-variable] Signed-off-by: Colin Harrison <colin.harrison@virgin.net> Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
committed by
Jon TURNEY
parent
e893d570aa
commit
7e665f1a21
@@ -82,7 +82,6 @@ static int
|
||||
ProcWindowsWMQueryVersion(ClientPtr client)
|
||||
{
|
||||
xWindowsWMQueryVersionReply rep;
|
||||
int n;
|
||||
|
||||
REQUEST_SIZE_MATCH(xWindowsWMQueryVersionReq);
|
||||
rep.type = X_Reply;
|
||||
@@ -562,8 +561,6 @@ SNotifyEvent(xWindowsWMNotifyEvent * from, xWindowsWMNotifyEvent * to)
|
||||
static int
|
||||
SProcWindowsWMQueryVersion(ClientPtr client)
|
||||
{
|
||||
int n;
|
||||
|
||||
REQUEST(xWindowsWMQueryVersionReq);
|
||||
swaps(&stuff->length);
|
||||
return ProcWindowsWMQueryVersion(client);
|
||||
|
||||
Reference in New Issue
Block a user