zmike pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1115752451f8c0095762a407dec08f42a7cbca06

commit 1115752451f8c0095762a407dec08f42a7cbca06
Author: Lauro Moura <lauromo...@expertisesolutions.com.br>
Date:   Wed Sep 25 16:15:43 2019 -0400

    elm: Avoid maybe unitialized variable accesses
    
    Reviewers: cedric, bu5hm4n, zmike, felipealmeida
    
    Reviewed By: zmike
    
    Subscribers: #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D10170
---
 src/lib/elementary/efl_ui_collection_view.c | 2 +-
 src/lib/elementary/efl_ui_layout.c          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elementary/efl_ui_collection_view.c 
b/src/lib/elementary/efl_ui_collection_view.c
index aa3b9c56d4..a13e69e49a 100644
--- a/src/lib/elementary/efl_ui_collection_view.c
+++ b/src/lib/elementary/efl_ui_collection_view.c
@@ -494,7 +494,7 @@ _entity_fetched_cb(Eo *obj, void *data, const Eina_Value v)
    Efl_Ui_Collection_Request *request = data;
    Efl_Gfx_Entity *child;
    unsigned int i, len;
-   uint64_t updated_size_start_id, updated_entity_start_id;
+   uint64_t updated_size_start_id = 0, updated_entity_start_id = 0;
    Eina_Bool updated_size = EINA_FALSE, updated_entity = EINA_FALSE;
 
    EINA_VALUE_ARRAY_FOREACH(&v, len, i, child)
diff --git a/src/lib/elementary/efl_ui_layout.c 
b/src/lib/elementary/efl_ui_layout.c
index 1797d8a45f..05a9063db1 100644
--- a/src/lib/elementary/efl_ui_layout.c
+++ b/src/lib/elementary/efl_ui_layout.c
@@ -522,7 +522,7 @@ EOLIAN static Eina_Error
 _efl_ui_layout_base_efl_ui_widget_theme_apply(Eo *obj, Efl_Ui_Layout_Data *sd)
 {
    Eina_Error theme_apply_ret, theme_apply_internal_ret;
-   Elm_Widget_Smart_Data *wd;
+   Elm_Widget_Smart_Data *wd = NULL;
    char buf[64];
    static unsigned int version = 0;
 

-- 


Reply via email to