From: Enlightenment S. <no-...@en...> - 2012-10-28 07:54:56
|
Log: Evas: Fix uninitialized variable warnings. Signed-off-by: Christopher Michael <devilhorns@revolution.(none)> Author: devilhorns Date: 2012-10-28 00:54:46 -0700 (Sun, 28 Oct 2012) New Revision: 78571 Trac: http://trac.enlightenment.org/e/changeset/78571 Modified: trunk/evas/src/lib/canvas/evas_events.c Modified: trunk/evas/src/lib/canvas/evas_events.c =================================================================== --- trunk/evas/src/lib/canvas/evas_events.c 2012-10-28 07:54:42 UTC (rev 78570) +++ trunk/evas/src/lib/canvas/evas_events.c 2012-10-28 07:54:46 UTC (rev 78571) @@ -612,7 +612,7 @@ Eina_List *l; Evas_Object *eo_child; - Evas_Object_Protected_Data *child; + Evas_Object_Protected_Data *child = NULL; int addgrab = 0; if (e->pointer.downs > 1) addgrab = e->pointer.downs - 1; @@ -633,6 +633,7 @@ { Evas_Coord point_x = ev->canvas.x; Evas_Coord point_y = ev->canvas.y; + ev->canvas.x = point_x; ev->canvas.y = point_y; _evas_event_framespace_adjust(eo_child, @@ -678,7 +679,7 @@ Eina_List *l; Evas_Object *eo_child; - Evas_Object_Protected_Data *child; + Evas_Object_Protected_Data *child = NULL; EINA_LIST_FOREACH(copy, l, eo_child) { ev->canvas.x = point_x; |