forked from enlightenment/efl
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:
parent
8e6e1860c3
commit
b0a7532dad
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue