• Mike Gabriel's avatar
    hw/nxagent/Events.c: Only declare and assign message_data and box variables if… · 7876d1f2
    Mike Gabriel authored
    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;
               ^
     ```
    7876d1f2
Name
Last commit
Last update
..
config Loading commit data...
extras Loading commit data...
include Loading commit data...
lib Loading commit data...
programs Loading commit data...
BUILD Loading commit data...
CHANGELOG Loading commit data...
COPYING Loading commit data...
ChangeLog.X.org Loading commit data...
Imakefile Loading commit data...
LABEL Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README Loading commit data...
README.crypto Loading commit data...
RELNOTES Loading commit data...
registry Loading commit data...
xf86Date.h Loading commit data...