From: Cedric Bail Date: Thu, 17 Apr 2014 19:16:12 +0000 (+0200) Subject: ecore_evas: avoid using non initialized value for cursor position in X backend. X-Git-Tag: v1.10.0-alpha1~148 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2401bb047d5620a217252a9c78be4ef307290497;p=platform%2Fupstream%2Fefl.git ecore_evas: avoid using non initialized value for cursor position in X backend. CID 1195445. --- diff --git a/src/modules/ecore_evas/engines/x/ecore_evas_x.c b/src/modules/ecore_evas/engines/x/ecore_evas_x.c index 97086cf..0de4dd6 100644 --- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c +++ b/src/modules/ecore_evas/engines/x/ecore_evas_x.c @@ -2970,7 +2970,7 @@ _ecore_evas_object_cursor_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj static void _ecore_evas_x_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int hot_x, int hot_y) { - int x, y; + int x = 0, y = 0; Evas_Object *old; old = ee->prop.cursor.object;