discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=dd42f8f29199d87a3f825b36d5f7e0f50fc01179

commit dd42f8f29199d87a3f825b36d5f7e0f50fc01179
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Jun 9 20:16:08 2017 -0400

    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);
 }
 

-- 


Reply via email to