summaryrefslogtreecommitdiff
path: root/legacy/evas
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2012-10-28 07:54:46 +0000
committerChristopher Michael <cpmichael1@comcast.net>2012-10-28 07:54:46 +0000
commit9ea0fede15324dfa7869e3bc8655dbc1f3bc597f (patch)
tree7c87c7a6b85f37aaf3fcd34a5af005e493cfad76 /legacy/evas
parentaf2f68b6118dff720d5ea2d902e9c83da2410c59 (diff)
Evas: Fix uninitialized variable warnings.
Signed-off-by: Christopher Michael <devilhorns@revolution.(none)> SVN revision: 78571
Diffstat (limited to 'legacy/evas')
-rw-r--r--legacy/evas/src/lib/canvas/evas_events.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_events.c b/legacy/evas/src/lib/canvas/evas_events.c
index 1ba0b2a..e079eae 100644
--- a/legacy/evas/src/lib/canvas/evas_events.c
+++ b/legacy/evas/src/lib/canvas/evas_events.c
@@ -612,7 +612,7 @@ _evas_event_source_multi_down_events(Evas_Object *eo_obj, Evas *eo_e, Evas_Event
612 612
613 Eina_List *l; 613 Eina_List *l;
614 Evas_Object *eo_child; 614 Evas_Object *eo_child;
615 Evas_Object_Protected_Data *child; 615 Evas_Object_Protected_Data *child = NULL;
616 616
617 int addgrab = 0; 617 int addgrab = 0;
618 if (e->pointer.downs > 1) addgrab = e->pointer.downs - 1; 618 if (e->pointer.downs > 1) addgrab = e->pointer.downs - 1;
@@ -633,6 +633,7 @@ _evas_event_source_multi_down_events(Evas_Object *eo_obj, Evas *eo_e, Evas_Event
633 { 633 {
634 Evas_Coord point_x = ev->canvas.x; 634 Evas_Coord point_x = ev->canvas.x;
635 Evas_Coord point_y = ev->canvas.y; 635 Evas_Coord point_y = ev->canvas.y;
636
636 ev->canvas.x = point_x; 637 ev->canvas.x = point_x;
637 ev->canvas.y = point_y; 638 ev->canvas.y = point_y;
638 _evas_event_framespace_adjust(eo_child, 639 _evas_event_framespace_adjust(eo_child,
@@ -678,7 +679,7 @@ _evas_event_source_multi_up_events(Evas_Object *eo_obj, Evas *eo_e, Evas_Event_M
678 679
679 Eina_List *l; 680 Eina_List *l;
680 Evas_Object *eo_child; 681 Evas_Object *eo_child;
681 Evas_Object_Protected_Data *child; 682 Evas_Object_Protected_Data *child = NULL;
682 EINA_LIST_FOREACH(copy, l, eo_child) 683 EINA_LIST_FOREACH(copy, l, eo_child)
683 { 684 {
684 ev->canvas.x = point_x; 685 ev->canvas.x = point_x;