From 74d5b7bb0558a3a2ab14a3570d17b2ea1e91949d Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 4 Jul 2025 15:04:51 +0200 Subject: [PATCH] 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 --- hw/xquartz/applewm.c | 1 - hw/xquartz/xpr/appledri.c | 1 - 2 files changed, 2 deletions(-) diff --git a/hw/xquartz/applewm.c b/hw/xquartz/applewm.c index 41ae6f280..096f7fc7b 100644 --- a/hw/xquartz/applewm.c +++ b/hw/xquartz/applewm.c @@ -690,7 +690,6 @@ SNotifyEvent(xAppleWMNotifyEvent *from, xAppleWMNotifyEvent *to) static int SProcAppleWMQueryVersion(register ClientPtr client) { - REQUEST(xAppleWMQueryVersionReq); return ProcAppleWMQueryVersion(client); } diff --git a/hw/xquartz/xpr/appledri.c b/hw/xquartz/xpr/appledri.c index c01ee9bf7..7810df86a 100644 --- a/hw/xquartz/xpr/appledri.c +++ b/hw/xquartz/xpr/appledri.c @@ -394,7 +394,6 @@ SNotifyEvent(xAppleDRINotifyEvent *from, static int SProcAppleDRIQueryVersion(register ClientPtr client) { - REQUEST(xAppleDRIQueryVersionReq); return ProcAppleDRIQueryVersion(client); }