herdsman pushed a commit to branch master.

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

commit c45e9570791c46cc7a3ee28228e2259c406490e9
Author: Daniel Hirt <hirt.da...@gmail.com>
Date:   Thu Jun 8 08:10:19 2017 +0300

    Ui text: initialize potentially unset variables
---
 src/lib/elementary/efl_ui_text.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/elementary/efl_ui_text.c b/src/lib/elementary/efl_ui_text.c
index e3419a820b..49319f12e3 100644
--- a/src/lib/elementary/efl_ui_text.c
+++ b/src/lib/elementary/efl_ui_text.c
@@ -1049,6 +1049,10 @@ _cursor_geometry_recalc(Evas_Object *obj)
    Evas_Coord x2, y2, w2, h2;
    Evas_Coord cx, cy, cw, ch;
 
+   cx = cy = cw = ch = 0;
+   x2 = y2 = w2 = h2 = 0;
+   x = y = w = h = 0;
+
    Efl_Canvas_Text_Cursor *main_cur =
       efl_canvas_text_cursor_get(obj);
 

-- 


Reply via email to