aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-06-16 20:50:04 +0200
committerUlrich Sibiller <uli42@gmx.de>2021-06-20 20:12:51 +0200
commit2b156c39769609022476e9707d286e46844b6787 (patch)
tree61534c10b3fd34012cdb78d29c4bdce3ff6b69e8 /nx-X11
parentc775bedbcb6ead00548783b362de165b3f6968a2 (diff)
downloadnx-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.c5
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);