diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-03-21 16:32:41 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-05-02 15:38:34 +0200 |
commit | 7876d1f28161f244fe837f2ed5bc348cfdac10de (patch) | |
tree | 86c27a042ed6e2de985e5ccc00438c8f3ebf9041 /fix-patch-whitespace | |
parent | 30cd3a6c24b2097c30fa2f81c9908aff174e0980 (diff) | |
download | nx-libs-7876d1f28161f244fe837f2ed5bc348cfdac10de.tar.gz nx-libs-7876d1f28161f244fe837f2ed5bc348cfdac10de.tar.bz2 nx-libs-7876d1f28161f244fe837f2ed5bc348cfdac10de.zip |
hw/nxagent/Events.c: Only declare and assign message_data and box variables if compiled with -DTEST / -DDEBUG (plus drop commented out code).
Amends the following compiler warnings:
```
Events.c: In function ‘nxagentHandleClientMessageEvent’:
Events.c:2694:13: warning: variable ‘message_data’ set but not used [-Wunused-but-set-variable]
char *message_data;
^
Events.c: In function ‘nxagentClipAndSendExpose’:
Events.c:4313:10: warning: variable ‘box’ set but not used [-Wunused-but-set-variable]
BoxRec box;
^
```
Diffstat (limited to 'fix-patch-whitespace')
0 files changed, 0 insertions, 0 deletions