evas-vg: Don't fetch parent if we are not going to use it
authorChris Michael <cpmichael@osg.samsung.com>
Thu, 19 May 2016 12:43:32 +0000 (08:43 -0400)
committerChris Michael <cpmichael@osg.samsung.com>
Thu, 19 May 2016 12:43:32 +0000 (08:43 -0400)
Essentially, this removes a compiler warning wrt 'parent' being set
but not used.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
src/lib/evas/canvas/evas_vg_shape.c

index c3599f0..f4d74da 100644 (file)
@@ -222,13 +222,10 @@ static void
 _efl_vg_shape_efl_vg_dup(Eo *obj, Efl_VG_Shape_Data *pd EINA_UNUSED, const Efl_VG *from)
 {
    Efl_VG_Shape_Data *fromd;
-   Eo *parent;
    Eo *fill = NULL, *stroke_fill = NULL, *stroke_marker = NULL;
 
    efl_vg_dup(eo_super(obj, MY_CLASS), from);
 
-   parent = eo_parent_get(obj);
-
    fromd = eo_data_scope_get(from, MY_CLASS);
 
    if (fromd->fill)