From 787b1be5e8991586c6d53c52de2f648a35eee20f Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Fri, 1 Apr 2016 13:51:21 +0900 Subject: [PATCH] ecore_imf/wayland: fix build warning Change-Id: Ic63f4fc6b14eed9378814403a6d2419286122d08 --- src/modules/ecore_imf/wayland/wayland_imcontext.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/modules/ecore_imf/wayland/wayland_imcontext.c b/src/modules/ecore_imf/wayland/wayland_imcontext.c index 19867cc..a348d54 100644 --- a/src/modules/ecore_imf/wayland/wayland_imcontext.c +++ b/src/modules/ecore_imf/wayland/wayland_imcontext.c @@ -347,9 +347,6 @@ text_input_commit_string(void *data, { WaylandIMContext *imcontext = (WaylandIMContext *)data; Eina_Bool old_preedit = EINA_FALSE; - char *surrounding = NULL; - int cursor_pos, cursor; - Ecore_IMF_Event_Delete_Surrounding ev; EINA_LOG_DOM_INFO(_ecore_imf_wayland_log_dom, "commit event (text: `%s', current pre-edit: `%s')", @@ -603,13 +600,11 @@ text_input_delete_surrounding_text(void *data, } static void -text_input_cursor_position(void *data, +text_input_cursor_position(void *data EINA_UNUSED, struct wl_text_input *text_input EINA_UNUSED, int32_t index, int32_t anchor) { - WaylandIMContext *imcontext = (WaylandIMContext *)data; - EINA_LOG_DOM_INFO(_ecore_imf_wayland_log_dom, "cursor_position for next commit (index: %d, anchor: %d)", index, anchor); -- 2.7.4