tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=ec53cee9a6679084d3cce85a603262a51e0bdd65

commit ec53cee9a6679084d3cce85a603262a51e0bdd65
Author: Tom Hacohen <t...@stosb.com>
Date:   Thu Jun 11 09:49:29 2015 +0100

    Evas: Remove unused variables.
    
    These were introduced in ed01a32c136aaba8fb23a12afaf334b4c47fc62e.
---
 src/lib/evas/canvas/evas_object_line.c    | 2 --
 src/lib/evas/canvas/evas_object_polygon.c | 3 ---
 src/lib/evas/canvas/evas_object_smart.c   | 2 --
 3 files changed, 7 deletions(-)

diff --git a/src/lib/evas/canvas/evas_object_line.c 
b/src/lib/evas/canvas/evas_object_line.c
index dc3882b..da18c36 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 40bf934..b424bb0 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 6506e24..252e71a 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());

-- 


Reply via email to