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 pde ((GEventDial *)pe)
GHandle h;
GHandle gh;
#if GFX_USE_GINPUT && (GINPUT_NEED_TOGGLE || GINPUT_NEED_DIAL)
uint16_t role;
#if GFX_USE_GINPUT
#if GINPUT_NEED_MOUSE
GHandle h;
#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
(void) param;
// Process various events