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
This commit is contained in:
Cedric BAIL 2019-03-26 12:05:02 -04:00 committed by Christopher Michael
parent ef298c428a
commit 7331f21ea7
1 changed files with 1 additions and 1 deletions

View File

@ -1205,7 +1205,7 @@ _race_then_cb(void *data, const Eina_Value v,
Eina_Promise *p = ctx->base.promise;
Eina_Bool found, r;
Eina_Value result;
unsigned int i;
unsigned int i = 0;
//This is not allowed!
assert(v.type != &EINA_VALUE_TYPE_PROMISE);