aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_wayland
diff options
context:
space:
mode:
authorBowon Ryu <bowon.ryu@samsung.com>2018-04-06 10:10:42 -0700
committerCedric Bail <cedric@osg.samsung.com>2018-04-06 10:10:44 -0700
commit72c263d5f2976d57da0d54930cc43dc674170c31 (patch)
treea561e775d32008962b0c7587441491b381ab2e1b /src/lib/ecore_wayland
parentefl_part: remove duplicated text_aliases code (diff)
downloadefl-72c263d5f2976d57da0d54930cc43dc674170c31.tar.gz
ecore_wayland: remove logically dead code.
Summary: remove logically dead code. execution cannot reach this statement. Reviewers: cedric Differential Revision: https://phab.enlightenment.org/D5876 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/ecore_wayland')
-rw-r--r--src/lib/ecore_wayland/ecore_wl_input.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_input.c b/src/lib/ecore_wayland/ecore_wl_input.c
index e36f47d1cb..e3fb6f487d 100644
--- a/src/lib/ecore_wayland/ecore_wl_input.c
+++ b/src/lib/ecore_wayland/ecore_wl_input.c
@@ -1034,7 +1034,6 @@ _ecore_wl_input_cb_pointer_leave(void *data, struct wl_pointer *pointer EINA_UNU
* here for any corner-cases */
/* _ecore_wl_input_cursor_update(input); */
- if (!surface) return;
if (!(win = ecore_wl_window_surface_find(surface))) return;
win->pointer_device = NULL;
@@ -1108,7 +1107,6 @@ _ecore_wl_input_cb_keyboard_leave(void *data, struct wl_keyboard *keyboard EINA_
input->display->serial = serial;
- if (!surface) return;
if (!(win = ecore_wl_window_surface_find(surface))) return;
win->keyboard_device = NULL;