summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2017-04-26 15:12:53 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2017-04-26 15:12:53 +0200
commitf406bae8b73cf4069eb132254800af1340a50e9a (patch)
tree07fadfb30f5a018a33949c225718aaa2c108db1a /src/lib/ecore
parentc56bb560d09f4d9feb58f34c6f173fb58b70a14b (diff)
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
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/efl_promise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore/efl_promise.c b/src/lib/ecore/efl_promise.c
index a9e5177bc9..ac0d48d30c 100644
--- a/src/lib/ecore/efl_promise.c
+++ b/src/lib/ecore/efl_promise.c
@@ -936,7 +936,7 @@ _efl_race_future_none(void *data, const Efl_Event *ev EINA_UNUSED)
936 // Trigger cancel on all future 936 // Trigger cancel on all future
937 EINA_ARRAY_ITER_NEXT(&all->members, i, f, iterator) 937 EINA_ARRAY_ITER_NEXT(&all->members, i, f, iterator)
938 { 938 {
939 if (!f) efl_future_cancel(f); 939 efl_future_cancel(f);
940 } 940 }
941 941
942 // No one is listening to this promise anyway 942 // No one is listening to this promise anyway