zmike pushed a commit to branch efl-1.22.

http://git.enlightenment.org/core/efl.git/commit/?id=1a90af6f76bbac28680ca2870b03aeae34d6705f

commit 1a90af6f76bbac28680ca2870b03aeae34d6705f
Author: Vincent Torri <[email protected]>
Date:   Fri May 10 10:01:59 2019 -0400

    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
---
 src/lib/elementary/elm_genlist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c
index 0a893b72d0..c82a023fd6 100644
--- a/src/lib/elementary/elm_genlist.c
+++ b/src/lib/elementary/elm_genlist.c
@@ -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)
                {

-- 


Reply via email to