summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_image.c
diff options
context:
space:
mode:
authorWonki Kim <wonki_.kim@samsung.com>2020-02-12 16:48:16 +0900
committerHermet Park <hermetpark@gmail.com>2020-02-12 16:48:16 +0900
commitb0a7532dadd32bb7147fbd7fd3a22f5bfb6376c5 (patch)
tree0acb2a28d5ca033b504b95bdb09a5e334cfe00d2 /src/lib/evas/canvas/evas_object_image.c
parent8e6e1860c3a78304c645422edc3b4872f0f21ef8 (diff)
downloadefl-b0a7532dadd32bb7147fbd7fd3a22f5bfb6376c5.tar.gz
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
Diffstat (limited to 'src/lib/evas/canvas/evas_object_image.c')
-rw-r--r--src/lib/evas/canvas/evas_object_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c
index e2bfebfedb..0391d81782 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -1734,7 +1734,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);