Draft: (trivial) pseudoramiX: fix warning from unused REQUEST() macro calls
In the SProc*()s, lots of REQUEST() macro calls aren't needed and causing warnings on unused variables:
../pseudoramiX/pseudoramiX.c: In function ‘SProcPseudoramiXQueryVersion’:
../include/dix.h:66:12: warning: unused variable ‘stuff’ [-Wunused-variable]
66 | type * stuff = (type *)client->requestBuffer;
| ^~~~~
../pseudoramiX/pseudoramiX.c:408:5: note: in expansion of macro ‘REQUEST’
408 | REQUEST(xPanoramiXQueryVersionReq);
| ^~~~~~~
../pseudoramiX/pseudoramiX.c: In function ‘SProcPseudoramiXGetState’:
../include/dix.h:66:12: warning: unused variable ‘stuff’ [-Wunused-variable]
66 | type * stuff = (type *)client->requestBuffer;
| ^~~~~
../pseudoramiX/pseudoramiX.c:419:5: note: in expansion of macro ‘REQUEST’
419 | REQUEST(xPanoramiXGetStateReq);
| ^~~~~~~
../pseudoramiX/pseudoramiX.c: In function ‘SProcPseudoramiXGetScreenCount’:
../include/dix.h:66:12: warning: unused variable ‘stuff’ [-Wunused-variable]
66 | type * stuff = (type *)client->requestBuffer;
| ^~~~~
../pseudoramiX/pseudoramiX.c:430:5: note: in expansion of macro ‘REQUEST’
430 | REQUEST(xPanoramiXGetScreenCountReq);
| ^~~~~~~
../pseudoramiX/pseudoramiX.c: In function ‘SProcPseudoramiXGetScreenSize’:
../include/dix.h:66:12: warning: unused variable ‘stuff’ [-Wunused-variable]
66 | type * stuff = (type *)client->requestBuffer;
| ^~~~~
../pseudoramiX/pseudoramiX.c:441:5: note: in expansion of macro ‘REQUEST’
441 | REQUEST(xPanoramiXGetScreenSizeReq);
| ^~~~~~~
../pseudoramiX/pseudoramiX.c: In function ‘SProcPseudoramiXIsActive’:
../include/dix.h:66:12: warning: unused variable ‘stuff’ [-Wunused-variable]
66 | type * stuff = (type *)client->requestBuffer;
| ^~~~~
../pseudoramiX/pseudoramiX.c:452:5: note: in expansion of macro ‘REQUEST’
452 | REQUEST(xXineramaIsActiveReq);
| ^~~~~~~
../pseudoramiX/pseudoramiX.c: In function ‘SProcPseudoramiXQueryScreens’:
../include/dix.h:66:12: warning: unused variable ‘stuff’ [-Wunused-variable]
66 | type * stuff = (type *)client->requestBuffer;
| ^~~~~
../pseudoramiX/pseudoramiX.c:463:5: note: in expansion of macro ‘REQUEST’
463 | REQUEST(xXineramaQueryScreensReq);
| ^~~~~~~
Signed-off-by: Enrico Weigelt, metux IT consult info@metux.net