xquartz: drop unused field declarations in request handlers
Silence compiler warning on unused fields, eg.: > ../hw/xquartz/applewm.c:692:5: warning: unused variable 'stuff' [-Wunused-variable] > REQUEST(xAppleWMQueryVersionReq); > ^ > ../include/dix.h:65:12: note: expanded from macro 'REQUEST' > type * stuff = (type *)client->requestBuffer; > ^ Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
160ab343ea
commit
74d5b7bb05
|
@ -690,7 +690,6 @@ SNotifyEvent(xAppleWMNotifyEvent *from, xAppleWMNotifyEvent *to)
|
|||
static int
|
||||
SProcAppleWMQueryVersion(register ClientPtr client)
|
||||
{
|
||||
REQUEST(xAppleWMQueryVersionReq);
|
||||
return ProcAppleWMQueryVersion(client);
|
||||
}
|
||||
|
||||
|
|
|
@ -394,7 +394,6 @@ SNotifyEvent(xAppleDRINotifyEvent *from,
|
|||
static int
|
||||
SProcAppleDRIQueryVersion(register ClientPtr client)
|
||||
{
|
||||
REQUEST(xAppleDRIQueryVersionReq);
|
||||
return ProcAppleDRIQueryVersion(client);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue