ecore: don't forget to initialize structure.
authorCedric BAIL <cedric@osg.samsung.com>
Thu, 13 Dec 2018 04:53:41 +0000 (20:53 -0800)
committerShinwoo Kim <cinoo.kim@samsung.com>
Thu, 3 Jan 2019 09:00:28 +0000 (18:00 +0900)
Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Differential Revision: https://phab.enlightenment.org/D7484

src/lib/ecore/efl_model_container.c

index 100c171..b69f3f2 100644 (file)
@@ -195,7 +195,7 @@ _efl_model_container_child_property_add(Eo *obj,
 
    for (i = children_count; i < in_count; ++i)
      {
-        Efl_Model_Children_Event cevt;
+        Efl_Model_Children_Event cevt = { 0 };
         Efl_Model *child;
 
         child = efl_add(EFL_MODEL_CONTAINER_ITEM_CLASS, obj,