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>
This commit is contained in:
Bowon Ryu 2018-04-06 10:10:42 -07:00 committed by Cedric Bail
parent 3114ee264b
commit 72c263d5f2
1 changed files with 0 additions and 2 deletions

View File

@ -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;