mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-06 23:54:47 +00:00
xf86bigfont: fix -Werror=unused-variable build failure
../Xext/xf86bigfont.c: In function ‘SProcXF86BigfontQueryVersion’:
../include/dix.h:65:12: error: unused variable ‘stuff’
[-Werror=unused-variable]
65 | type * stuff = (type *)client->requestBuffer;
| ^~~~~
../Xext/xf86bigfont.c:654:5: note: in expansion of macro ‘REQUEST’
654 | REQUEST(xXF86BigfontQueryVersionReq);
| ^~~~~~~
Fixes: 776efd3cf ("Xext: xf86bigfont: drop swapping request length fields")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2053>
This commit is contained in:
@@ -651,7 +651,7 @@ ProcXF86BigfontDispatch(ClientPtr client)
|
||||
static int _X_COLD
|
||||
SProcXF86BigfontQueryVersion(ClientPtr client)
|
||||
{
|
||||
REQUEST(xXF86BigfontQueryVersionReq);
|
||||
/* REQUEST(xXF86BigfontQueryVersionReq); */
|
||||
return ProcXF86BigfontQueryVersion(client);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user