Evas: Remove unused variables.
authorTom Hacohen <tom@stosb.com>
Thu, 11 Jun 2015 08:49:29 +0000 (09:49 +0100)
committerTom Hacohen <tom@stosb.com>
Thu, 11 Jun 2015 08:50:12 +0000 (09:50 +0100)
These were introduced in ed01a32c136aaba8fb23a12afaf334b4c47fc62e.

src/lib/evas/canvas/evas_object_line.c
src/lib/evas/canvas/evas_object_polygon.c
src/lib/evas/canvas/evas_object_smart.c

index dc3882b..da18c36 100644 (file)
@@ -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;
index 40bf934..b424bb0 100644 (file)
@@ -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;
index 6506e24..252e71a 100644 (file)
@@ -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());