diff options
author | Tom Hacohen <tom@stosb.com> | 2015-06-11 09:49:29 +0100 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2015-06-11 09:50:12 +0100 |
commit | ec53cee9a6679084d3cce85a603262a51e0bdd65 (patch) | |
tree | 63c4dd4dd2b403cb0217df90a5e4cab57ddc9cd9 | |
parent | ac09acd5080df05c4f3049b30bbc656c9dc21f39 (diff) |
Evas: Remove unused variables.
These were introduced in ed01a32c136aaba8fb23a12afaf334b4c47fc62e.
-rw-r--r-- | src/lib/evas/canvas/evas_object_line.c | 2 | ||||
-rw-r--r-- | src/lib/evas/canvas/evas_object_polygon.c | 3 | ||||
-rw-r--r-- | src/lib/evas/canvas/evas_object_smart.c | 2 |
3 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/evas/canvas/evas_object_line.c b/src/lib/evas/canvas/evas_object_line.c index dc3882b04c..da18c36dd5 100644 --- a/src/lib/evas/canvas/evas_object_line.c +++ b/src/lib/evas/canvas/evas_object_line.c | |||
@@ -217,12 +217,10 @@ evas_object_line_init(Evas_Object *eo_obj) | |||
217 | EOLIAN static Eo * | 217 | EOLIAN static Eo * |
218 | _evas_line_eo_base_constructor(Eo *eo_obj, Evas_Line_Data *class_data EINA_UNUSED) | 218 | _evas_line_eo_base_constructor(Eo *eo_obj, Evas_Line_Data *class_data EINA_UNUSED) |
219 | { | 219 | { |
220 | Evas_Object_Protected_Data *obj; | ||
221 | Evas_Line_Data *o; | 220 | Evas_Line_Data *o; |
222 | 221 | ||
223 | eo_obj = eo_do_super_ret(eo_obj, MY_CLASS, eo_obj, eo_constructor()); | 222 | eo_obj = eo_do_super_ret(eo_obj, MY_CLASS, eo_obj, eo_constructor()); |
224 | 223 | ||
225 | obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS); | ||
226 | evas_object_line_init(eo_obj); | 224 | evas_object_line_init(eo_obj); |
227 | 225 | ||
228 | o = class_data; | 226 | o = class_data; |
diff --git a/src/lib/evas/canvas/evas_object_polygon.c b/src/lib/evas/canvas/evas_object_polygon.c index 40bf934ae8..b424bb0908 100644 --- a/src/lib/evas/canvas/evas_object_polygon.c +++ b/src/lib/evas/canvas/evas_object_polygon.c | |||
@@ -104,11 +104,8 @@ evas_object_polygon_add(Evas *e) | |||
104 | EOLIAN static Eo * | 104 | EOLIAN static Eo * |
105 | _evas_polygon_eo_base_constructor(Eo *eo_obj, Evas_Polygon_Data *class_data EINA_UNUSED) | 105 | _evas_polygon_eo_base_constructor(Eo *eo_obj, Evas_Polygon_Data *class_data EINA_UNUSED) |
106 | { | 106 | { |
107 | Evas_Object_Protected_Data *obj; | ||
108 | |||
109 | eo_obj = eo_do_super_ret(eo_obj, MY_CLASS, eo_obj, eo_constructor()); | 107 | eo_obj = eo_do_super_ret(eo_obj, MY_CLASS, eo_obj, eo_constructor()); |
110 | 108 | ||
111 | obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS); | ||
112 | evas_object_polygon_init(eo_obj); | 109 | evas_object_polygon_init(eo_obj); |
113 | 110 | ||
114 | return eo_obj; | 111 | return eo_obj; |
diff --git a/src/lib/evas/canvas/evas_object_smart.c b/src/lib/evas/canvas/evas_object_smart.c index 6506e246da..252e71a5ef 100644 --- a/src/lib/evas/canvas/evas_object_smart.c +++ b/src/lib/evas/canvas/evas_object_smart.c | |||
@@ -544,7 +544,6 @@ evas_object_smart_add(Evas *eo_e, Evas_Smart *s) | |||
544 | EOLIAN static Eo * | 544 | EOLIAN static Eo * |
545 | _evas_object_smart_eo_base_constructor(Eo *eo_obj, Evas_Smart_Data *class_data EINA_UNUSED) | 545 | _evas_object_smart_eo_base_constructor(Eo *eo_obj, Evas_Smart_Data *class_data EINA_UNUSED) |
546 | { | 546 | { |
547 | Evas_Object_Protected_Data *obj; | ||
548 | Evas_Smart_Data *smart; | 547 | Evas_Smart_Data *smart; |
549 | 548 | ||
550 | smart = class_data; | 549 | smart = class_data; |
@@ -553,7 +552,6 @@ _evas_object_smart_eo_base_constructor(Eo *eo_obj, Evas_Smart_Data *class_data E | |||
553 | eo_obj = eo_do_super_ret(eo_obj, MY_CLASS, eo_obj, eo_constructor()); | 552 | eo_obj = eo_do_super_ret(eo_obj, MY_CLASS, eo_obj, eo_constructor()); |
554 | evas_object_smart_init(eo_obj); | 553 | evas_object_smart_init(eo_obj); |
555 | 554 | ||
556 | obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS); | ||
557 | eo_do(eo_obj, | 555 | eo_do(eo_obj, |
558 | evas_obj_type_set(MY_CLASS_NAME_LEGACY), | 556 | evas_obj_type_set(MY_CLASS_NAME_LEGACY), |
559 | evas_obj_smart_add()); | 557 | evas_obj_smart_add()); |