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:
Stefan Schmidt 2017-04-26 15:12:53 +02:00
parent c56bb560d0
commit f406bae8b7
1 changed files with 1 additions and 1 deletions

View File

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