From 9b1cd77e3862f79e9c9c208d896b6103ce204767 Mon Sep 17 00:00:00 2001 From: Wonki Kim Date: Wed, 12 Feb 2020 16:48:16 +0900 Subject: [PATCH] evas: remove redundant conditions. Summary: conditions of the inner and outer statement are identical. this patch removes a condition of them. Reviewers: jsuya, Hermet Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11324 --- src/lib/evas/canvas/evas_object_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c index 7f4327f..146d421 100755 --- a/src/lib/evas/canvas/evas_object_image.c +++ b/src/lib/evas/canvas/evas_object_image.c @@ -1761,7 +1761,7 @@ evas_object_image_free(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj) } if (o->cur->scene) { - if (o->cur->scene) _evas_image_3d_unset(eo_obj, obj, o); + _evas_image_3d_unset(eo_obj, obj, o); EINA_COW_IMAGE_STATE_WRITE_BEGIN(o, state_write) state_write->scene = NULL; EINA_COW_IMAGE_STATE_WRITE_END(o, state_write); -- 2.7.4