hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b0a7532dadd32bb7147fbd7fd3a22f5bfb6376c5

commit b0a7532dadd32bb7147fbd7fd3a22f5bfb6376c5
Author: Wonki Kim <wonki_....@samsung.com>
Date:   Wed Feb 12 16:48:16 2020 +0900

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

-- 


Reply via email to