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
This commit is contained in:
Wonki Kim 2020-02-12 16:48:16 +09:00 committed by Hermet Park
parent 8e6e1860c3
commit b0a7532dad
1 changed files with 1 additions and 1 deletions

View File

@ -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);