Compiler warnings

release/v2.9
Joel Bodenmann 2017-10-03 14:13:08 +02:00
parent d0fb541191
commit c3b484a865
1 changed files with 738 additions and 731 deletions

View File

@ -99,11 +99,18 @@ static void gwidgetEvent(void *param, GEvent *pe) {
#define pte ((GEventToggle *)pe) #define pte ((GEventToggle *)pe)
#define pde ((GEventDial *)pe) #define pde ((GEventDial *)pe)
GHandle h; #if GFX_USE_GINPUT
GHandle gh; #if GINPUT_NEED_MOUSE
#if GFX_USE_GINPUT && (GINPUT_NEED_TOGGLE || GINPUT_NEED_DIAL) GHandle h;
uint16_t role; #endif
#if GINPUT_NEED_MOUSE || GINPUT_NEED_TOGGLE || GINPUT_NEED_DIAL || GINPUT_NEED_KEYBOARD
GHandle gh;
#endif
#if GINPUT_NEED_TOGGLE || GINPUT_NEED_DIAL
uint16_t role;
#endif
#endif #endif
(void) param; (void) param;
// Process various events // Process various events