elementary genlist: fix potential uninitialized variable.

Test Plan: compilation

Reviewers: raster, zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8874
This commit is contained in:
Vincent Torri 2019-05-10 10:01:59 -04:00 committed by Mike Blumenkrantz
parent 84e6fabbb3
commit 7b44b02e10
1 changed files with 1 additions and 1 deletions

View File

@ -6768,7 +6768,7 @@ _elm_genlist_item_sorted_insert(Eo *obj, Elm_Genlist_Data *sd, const Elm_Genlist
{
// Inlist is not sorted!
Elm_Gen_Item *prev_rel = NULL;
int cmp;
int cmp = 0;
EINA_INLIST_FOREACH(sd->items, rel)
{