summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-03-26 12:05:02 -0400
committerChristopher Michael <cp.michael@samsung.com>2019-03-26 12:05:02 -0400
commit7331f21ea77c7bc0e0fa8fdc8f23a580c9690ca7 (patch)
tree13b5798e2cae76e111bcdc9d793149079d4d25bd /src/lib/eina
parentef298c428a10a6bc5654c70099913adbb3cd7afb (diff)
eina: always initialize i.
Reviewers: zmike, bu5hm4n, stefan_schmidt, devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8451
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_promise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_promise.c b/src/lib/eina/eina_promise.c
index f2dc9cccac..62a47576ce 100644
--- a/src/lib/eina/eina_promise.c
+++ b/src/lib/eina/eina_promise.c
@@ -1205,7 +1205,7 @@ _race_then_cb(void *data, const Eina_Value v,
1205 Eina_Promise *p = ctx->base.promise; 1205 Eina_Promise *p = ctx->base.promise;
1206 Eina_Bool found, r; 1206 Eina_Bool found, r;
1207 Eina_Value result; 1207 Eina_Value result;
1208 unsigned int i; 1208 unsigned int i = 0;
1209 1209
1210 //This is not allowed! 1210 //This is not allowed!
1211 assert(v.type != &EINA_VALUE_TYPE_PROMISE); 1211 assert(v.type != &EINA_VALUE_TYPE_PROMISE);