diff --git a/src/modules/wl_x11/e_mod_main.c b/src/modules/wl_x11/e_mod_main.c index 433601da0..ceeeee7f4 100644 --- a/src/modules/wl_x11/e_mod_main.c +++ b/src/modules/wl_x11/e_mod_main.c @@ -14,7 +14,6 @@ _cb_delete_request(Ecore_Evas *ee EINA_UNUSED) static Eina_Bool _cb_keymap_changed(void *data, int type EINA_UNUSED, void *event EINA_UNUSED) { - E_Comp_Data *cdata; E_Config_XKB_Layout *ekbd; char *rules = NULL, *model = NULL, *layout = NULL; Ecore_X_Atom xkb = 0; @@ -24,8 +23,6 @@ _cb_keymap_changed(void *data, int type EINA_UNUSED, void *event EINA_UNUSED) printf("KEYMAP CHANGED\n"); - if (!(cdata = data)) return ECORE_CALLBACK_PASS_ON; - /* try to fetch the E keyboard layout */ if ((ekbd = e_xkb_layout_get())) {