forked from enlightenment/efl
ecore: efl_promise: remove superfluous NULL check
f is already checked against NULL in the eina array macro. No need to check again. CID: 1362730
This commit is contained in:
parent
c56bb560d0
commit
f406bae8b7
|
@ -936,7 +936,7 @@ _efl_race_future_none(void *data, const Efl_Event *ev EINA_UNUSED)
|
|||
// Trigger cancel on all future
|
||||
EINA_ARRAY_ITER_NEXT(&all->members, i, f, iterator)
|
||||
{
|
||||
if (!f) efl_future_cancel(f);
|
||||
efl_future_cancel(f);
|
||||
}
|
||||
|
||||
// No one is listening to this promise anyway
|
||||
|
|
Loading…
Reference in New Issue