elementary: Remove logically dead code
Coverity reports that this is logically dead code. As eo_item has been dereferenced on all paths leading here, and it is also set above, then it cannot be NULL at this point, thus this check is logically dead. Fixes Covierty CID1355585 @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
fb09df7977
commit
30ab0a89be
|
@ -1544,8 +1544,7 @@ _elm_index_item_sorted_insert(Eo *obj, Elm_Index_Data *sd, const char *letter, E
|
|||
elm_interface_atspi_accessible_children_changed_added_signal_emit(obj, eo_item);
|
||||
}
|
||||
|
||||
if (!eo_item) return NULL;
|
||||
else return eo_item;
|
||||
return eo_item;
|
||||
}
|
||||
|
||||
EOLIAN static Elm_Object_Item*
|
||||
|
|
Loading…
Reference in New Issue