From: Mike Blumenkrantz Date: Sat, 10 Jun 2017 00:16:08 +0000 (-0400) Subject: evas: remove null check, passthrough list in _evas_event_object_list_in_get() X-Git-Tag: upstream/1.20.0~653 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd42f8f29199d87a3f825b36d5f7e0f50fc01179;p=platform%2Fupstream%2Fefl.git 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 --- diff --git a/src/lib/evas/canvas/evas_events.c b/src/lib/evas/canvas/evas_events.c index b6b76c7..0fc4850 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); }