raster pushed a commit to branch master.

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

commit 2ac1323faca7621f0e1f2e9d6c4008bfe8232fff
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Fri Sep 29 09:00:43 2017 +0900

    efl ui focusable - remove pointless check of ptr already checked
    
    coverity fix CID 1381492
---
 src/lib/elementary/efl_ui_focus_manager_calc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c 
b/src/lib/elementary/efl_ui_focus_manager_calc.c
index 50323dd021..62a33b213b 100644
--- a/src/lib/elementary/efl_ui_focus_manager_calc.c
+++ b/src/lib/elementary/efl_ui_focus_manager_calc.c
@@ -1485,7 +1485,7 @@ 
_efl_ui_focus_manager_calc_efl_ui_focus_manager_logical_end(Eo *obj EINA_UNUSED,
    if (child)
      {
         ret.is_regular_end = child->type == NODE_TYPE_NORMAL;
-        ret.element = child ? child->focusable : NULL;
+        ret.element = child->focusable;
      }
    return ret;
 }

-- 


Reply via email to