add #else to #if 0'd block in order to avoid compiler warning about

unused variable.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
This commit is contained in:
Chris Michael 2016-03-24 10:33:47 -04:00
parent 83a9e4a404
commit 18a9c2d97d
1 changed files with 3 additions and 0 deletions

View File

@ -49,7 +49,10 @@ _xkb_changed_state(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
return ECORE_CALLBACK_PASS_ON;
e_config->xkb.cur_group = ev->group;
#else
(void)event;
#endif
/*
* XKb_STATE_NOTIFY does not only indicate a new group setted somewhere in e,
* it also indicates that there is probebly a new set of available groups which is unknown to e