forked from enlightenment/efl
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:
parent
655ed09ab4
commit
843ad74adc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue