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)
|
ProcWindowsWMQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
xWindowsWMQueryVersionReply rep;
|
xWindowsWMQueryVersionReply rep;
|
||||||
int n;
|
|
||||||
|
|
||||||
REQUEST_SIZE_MATCH(xWindowsWMQueryVersionReq);
|
REQUEST_SIZE_MATCH(xWindowsWMQueryVersionReq);
|
||||||
rep.type = X_Reply;
|
rep.type = X_Reply;
|
||||||
|
@ -562,8 +561,6 @@ SNotifyEvent(xWindowsWMNotifyEvent * from, xWindowsWMNotifyEvent * to)
|
||||||
static int
|
static int
|
||||||
SProcWindowsWMQueryVersion(ClientPtr client)
|
SProcWindowsWMQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
int n;
|
|
||||||
|
|
||||||
REQUEST(xWindowsWMQueryVersionReq);
|
REQUEST(xWindowsWMQueryVersionReq);
|
||||||
swaps(&stuff->length);
|
swaps(&stuff->length);
|
||||||
return ProcWindowsWMQueryVersion(client);
|
return ProcWindowsWMQueryVersion(client);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user