diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2021-06-16 20:50:04 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2021-06-20 20:12:51 +0200 |
commit | 2b156c39769609022476e9707d286e46844b6787 (patch) | |
tree | 61534c10b3fd34012cdb78d29c4bdce3ff6b69e8 /nx-X11 | |
parent | c775bedbcb6ead00548783b362de165b3f6968a2 (diff) | |
download | nx-libs-2b156c39769609022476e9707d286e46844b6787.tar.gz nx-libs-2b156c39769609022476e9707d286e46844b6787.tar.bz2 nx-libs-2b156c39769609022476e9707d286e46844b6787.zip |
Events.c: fix unused variable
Diffstat (limited to 'nx-X11')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Events.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c index d29ed9bcd..906915ad0 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Events.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c @@ -4553,7 +4553,10 @@ void ForwardClientMessage(ClientPtr client, xSendEventReq *stuff) XlibWindow dest; dest = DefaultRootWindow(nxagentDisplay); - Status stat = XSendEvent(nxagentDisplay, dest, stuff->propagate, stuff->eventMask, &X); + #ifdef DEBUG + Status stat = + #endif + XSendEvent(nxagentDisplay, dest, stuff->propagate, stuff->eventMask, &X); XFlush(nxagentDisplay); #ifdef DEBUG fprintf(stderr, "%s: send to window [0x%lx]\n", __func__, dest); |