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
This commit is contained in:
Lauro Moura 2019-09-25 16:15:43 -04:00 committed by Mike Blumenkrantz
parent 25cba85a6a
commit 1115752451
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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;