summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-01-29 10:20:18 +0100
committerPierre Ossman <ossman@cendio.se>2015-01-29 10:20:18 +0100
commit9d9d1409f47ca6edc8f95e416a283820034a2cb3 (patch)
treeca6c8955458c6bbd7c616a4ce5fb0e2257c93fc5 /unix
parentdfe455ce18380a06faf39ee974bb2ff8d029f3de (diff)
downloadtigervnc-9d9d1409f47ca6edc8f95e416a283820034a2cb3.tar.gz
tigervnc-9d9d1409f47ca6edc8f95e416a283820034a2cb3.zip
Avoid complaints about unused variable in argument less requests
The REQUEST macro is used to access variables in the request data, and if we don't then the compiler complains that the macro sets up variables that we never use.
Diffstat (limited to 'unix')
-rw-r--r--unix/xserver/hw/vnc/vncExt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/unix/xserver/hw/vnc/vncExt.c b/unix/xserver/hw/vnc/vncExt.c
index 561e292c..2f5ff5c7 100644
--- a/unix/xserver/hw/vnc/vncExt.c
+++ b/unix/xserver/hw/vnc/vncExt.c
@@ -354,7 +354,6 @@ static int ProcVncExtListParams(ClientPtr client)
char *params;
size_t len;
- REQUEST(xVncExtListParamsReq);
REQUEST_SIZE_MATCH(xVncExtListParamsReq);
rep.type = X_Reply;
@@ -429,7 +428,6 @@ static int ProcVncExtGetClientCutText(ClientPtr client)
{
xVncExtGetClientCutTextReply rep;
- REQUEST(xVncExtGetClientCutTextReq);
REQUEST_SIZE_MATCH(xVncExtGetClientCutTextReq);
rep.type = X_Reply;
@@ -581,7 +579,6 @@ static int ProcVncExtGetQueryConnect(ClientPtr client)
xVncExtGetQueryConnectReply rep;
- REQUEST(xVncExtGetQueryConnectReq);
REQUEST_SIZE_MATCH(xVncExtGetQueryConnectReq);
vncGetQueryConnect(&opaqueId, &qcAddress, &qcUsername, &qcTimeout);