barbieri pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=6662fad5086552380507f9c1912081578fdc86e2
commit 6662fad5086552380507f9c1912081578fdc86e2 Author: Gustavo Sverzut Barbieri <gustavo.barbi...@intel.com> Date: Thu Mar 6 11:04:41 2014 -0300 elm_widget: @fix use of uninitialized values. Valgrind reports n and weight could be read before they were written to. --- src/lib/elm_widget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c index 8a2a70b..b3bfb63 100644 --- a/src/lib/elm_widget.c +++ b/src/lib/elm_widget.c @@ -2934,9 +2934,9 @@ _elm_widget_focus_list_next_get(Eo *obj, void *_pd EINA_UNUSED, va_list *list) } else { - Evas_Object *n; + Evas_Object *n = NULL; double degree; - double weight; + double weight = 0.0; if (dir == ELM_FOCUS_UP) degree = 0.0; else if (dir == ELM_FOCUS_DOWN) degree = 180.0; --