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:
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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user