From dd42f8f29199d87a3f825b36d5f7e0f50fc01179 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 9 Jun 2017 20:16:08 -0400 Subject: [PATCH] evas: remove null check, passthrough list in _evas_event_object_list_in_get() _evas_event_object_list_raw_in_get() already has a null check and uses the last list member no functional changes --- src/lib/evas/canvas/evas_events.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/evas/canvas/evas_events.c b/src/lib/evas/canvas/evas_events.c index b6b76c729e..0fc4850ad5 100644 --- a/src/lib/evas/canvas/evas_events.c +++ b/src/lib/evas/canvas/evas_events.c @@ -1263,8 +1263,7 @@ _evas_event_object_list_in_get(Evas *eo_e, Eina_List *in, const Eina_Inlist *list, Evas_Object *stop, int x, int y, int *no_rep, Eina_Bool source) { - if (!list) return NULL; - return _evas_event_object_list_raw_in_get(eo_e, in, list->last, stop, x, y, + return _evas_event_object_list_raw_in_get(eo_e, in, list, stop, x, y, no_rep, source); }