aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-06-11 09:49:29 +0100
committerTom Hacohen <tom@stosb.com>2015-06-11 09:50:12 +0100
commitec53cee9a6679084d3cce85a603262a51e0bdd65 (patch)
tree63c4dd4dd2b403cb0217df90a5e4cab57ddc9cd9
parentEo: Add Null check (diff)
downloadefl-ec53cee9a6679084d3cce85a603262a51e0bdd65.tar.gz
Evas: Remove unused variables.
These were introduced in ed01a32c136aaba8fb23a12afaf334b4c47fc62e.
-rw-r--r--src/lib/evas/canvas/evas_object_line.c2
-rw-r--r--src/lib/evas/canvas/evas_object_polygon.c3
-rw-r--r--src/lib/evas/canvas/evas_object_smart.c2
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)
EOLIAN static Eo *
_evas_line_eo_base_constructor(Eo *eo_obj, Evas_Line_Data *class_data EINA_UNUSED)
{
- Evas_Object_Protected_Data *obj;
Evas_Line_Data *o;
eo_obj = eo_do_super_ret(eo_obj, MY_CLASS, eo_obj, eo_constructor());
- obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
evas_object_line_init(eo_obj);
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)
EOLIAN static Eo *
_evas_polygon_eo_base_constructor(Eo *eo_obj, Evas_Polygon_Data *class_data EINA_UNUSED)
{
- Evas_Object_Protected_Data *obj;
-
eo_obj = eo_do_super_ret(eo_obj, MY_CLASS, eo_obj, eo_constructor());
- obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
evas_object_polygon_init(eo_obj);
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)
EOLIAN static Eo *
_evas_object_smart_eo_base_constructor(Eo *eo_obj, Evas_Smart_Data *class_data EINA_UNUSED)
{
- Evas_Object_Protected_Data *obj;
Evas_Smart_Data *smart;
smart = class_data;
@@ -553,7 +552,6 @@ _evas_object_smart_eo_base_constructor(Eo *eo_obj, Evas_Smart_Data *class_data E
eo_obj = eo_do_super_ret(eo_obj, MY_CLASS, eo_obj, eo_constructor());
evas_object_smart_init(eo_obj);
- obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
eo_do(eo_obj,
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
evas_obj_smart_add());