List: fix annoying Valgrind unitialized value.
authorDaniel Zaoui <daniel.zaoui@samsung.com>
Mon, 6 Oct 2014 08:29:05 +0000 (11:29 +0300)
committerDaniel Zaoui <daniel.zaoui@samsung.com>
Mon, 6 Oct 2014 08:30:58 +0000 (11:30 +0300)
src/lib/elm_list.c

index 795375b4eb1b19f7eb121295c532fb97235ac1a0..25ed9c703b76209208596e29058f6b26de356a8b 100644 (file)
@@ -671,8 +671,8 @@ EOLIAN static void
 _elm_list_elm_layout_sizing_eval(Eo *obj, Elm_List_Data *sd)
 {
    Evas_Coord vw = 0, vh = 0;
-   Evas_Coord minw, minh, maxw, maxh, w, h, vmw, vmh;
-   double xw, yw;
+   Evas_Coord minw = 0, minh = 0, maxw = 0, maxh = 0, w = 0, h = 0, vmw = 0, vmh = 0;
+   double xw = 0.0, yw = 0.0;
 
    ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);