forked from enlightenment/efl
Prevent warning from Eina Magic when hash population is 0.
SVN revision: 38049
This commit is contained in:
parent
3c1b5cfb3c
commit
d19801f7c2
|
@ -1175,6 +1175,8 @@ eina_hash_foreach(const Eina_Hash *hash,
|
|||
foreach.fdata = fdata;
|
||||
|
||||
it = eina_hash_iterator_tuple_new(hash);
|
||||
if (!it) return;
|
||||
|
||||
eina_iterator_foreach(it, EINA_EACH(_eina_foreach_cb), &foreach);
|
||||
eina_iterator_free(it);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue