efl ui focusable - remove pointless check of ptr already checked

coverity fix CID 1381492
This commit is contained in:
Carsten Haitzler 2017-09-29 09:00:43 +09:00
parent 68e9f2ced5
commit 2ac1323fac
1 changed files with 1 additions and 1 deletions

View File

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