From: Vincent Torri Date: Fri, 10 May 2019 14:01:59 +0000 (-0400) Subject: elementary genlist: fix potential uninitialized variable. X-Git-Tag: submit/tizen/20190530.111225~118 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7af340bbce8ee8c6ce255f35e271eb887bd980d0;p=platform%2Fupstream%2Fefl.git 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 --- diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c index d835a00..a51cfdf 100644 --- a/src/lib/elementary/elm_genlist.c +++ b/src/lib/elementary/elm_genlist.c @@ -7191,7 +7191,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) {