From 219496ccc442d103b07ade4bfbce309ba2b2efc7 Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Tue, 11 Jun 2013 12:46:04 +0100 Subject: [PATCH] els_tooltip.c: Initialize px and py to zero px and py might not be set if X support is not compiled in and ecore_x_pointer_xy_get() is not called. In that case make sure they are not used uninitialized. Backport ec06d04b29454e1d1008525812bc43c4aa4c08ed Change-Id: Ie500bda0b3c331e85d9008b4a5a3059c1d6106b3 Signed-off-by: Daniel Willmann --- src/lib/els_tooltip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/els_tooltip.c b/src/lib/els_tooltip.c index 1dfb92b..2d39997 100644 --- a/src/lib/els_tooltip.c +++ b/src/lib/els_tooltip.c @@ -262,7 +262,7 @@ _elm_tooltip_hide_anim_stop(Elm_Tooltip *tt) static void _elm_tooltip_reconfigure(Elm_Tooltip *tt) { - Evas_Coord ox, oy, ow, oh, px, py, tx, ty, tw, th, cw = 0, ch = 0; + Evas_Coord ox, oy, ow, oh, px = 0, py = 0, tx, ty, tw, th, cw = 0, ch = 0; Evas_Coord eminw, eminh, ominw, ominh; double rel_x, rel_y; Eina_Bool inside_eventarea; -- 2.7.4