summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_shape.c
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-05-19 08:43:32 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-05-19 08:43:32 -0400
commit843ad74adc149623cc5ef04e17ab9962dd6ce439 (patch)
tree2a9b9198c349846c4c797b72026b36e4f13bf308 /src/lib/evas/canvas/evas_vg_shape.c
parent655ed09ab4026c9994d6aa9c4e3a3c245541c262 (diff)
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>
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_shape.c')
-rw-r--r--src/lib/evas/canvas/evas_vg_shape.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/evas/canvas/evas_vg_shape.c b/src/lib/evas/canvas/evas_vg_shape.c
index c3599f0..f4d74da 100644
--- a/src/lib/evas/canvas/evas_vg_shape.c
+++ b/src/lib/evas/canvas/evas_vg_shape.c
@@ -222,13 +222,10 @@ static void
222_efl_vg_shape_efl_vg_dup(Eo *obj, Efl_VG_Shape_Data *pd EINA_UNUSED, const Efl_VG *from) 222_efl_vg_shape_efl_vg_dup(Eo *obj, Efl_VG_Shape_Data *pd EINA_UNUSED, const Efl_VG *from)
223{ 223{
224 Efl_VG_Shape_Data *fromd; 224 Efl_VG_Shape_Data *fromd;
225 Eo *parent;
226 Eo *fill = NULL, *stroke_fill = NULL, *stroke_marker = NULL; 225 Eo *fill = NULL, *stroke_fill = NULL, *stroke_marker = NULL;
227 226
228 efl_vg_dup(eo_super(obj, MY_CLASS), from); 227 efl_vg_dup(eo_super(obj, MY_CLASS), from);
229 228
230 parent = eo_parent_get(obj);
231
232 fromd = eo_data_scope_get(from, MY_CLASS); 229 fromd = eo_data_scope_get(from, MY_CLASS);
233 230
234 if (fromd->fill) 231 if (fromd->fill)