evas-vg: Don't fetch parent if we are not going to use it

Essentially, this removes a compiler warning wrt 'parent' being set
but not used.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
This commit is contained in:
Chris Michael 2016-05-19 08:43:32 -04:00
parent 655ed09ab4
commit 843ad74adc
1 changed files with 0 additions and 3 deletions

View 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)