forked from enlightenment/efl
elm test: Shut up coverity warning
CID 1354839 It was non-sensical as there would be no iterator if there are no children.
This commit is contained in:
parent
5871593ed1
commit
bed1e28d85
|
@ -158,6 +158,8 @@ _custom_engine_layout_do(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED,
|
|||
// Note: This is a TERRIBLE layout. Just an example of the API, not showing
|
||||
// how to write a proper layout function.
|
||||
|
||||
if (!count) return;
|
||||
|
||||
efl_gfx_geometry_get(pack, &px, &py, &pw, &ph);
|
||||
EINA_ITERATOR_FOREACH(it, sobj)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue