zmike pushed a commit to branch master.

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

commit 8536c066eb59a42279922bb3d87a4753aab22ad9
Author: Woochanlee <[email protected]>
Date:   Tue Oct 29 09:37:56 2019 -0400

    edje_calc: Delete duplicated conditional statement.
    
    Summary: this is identical to the conditional above and can be merged
    to improve code clarity
    
    Reviewers: raster, Hermet, zmike
    
    Reviewed By: zmike
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D10549
---
 src/lib/edje/edje_calc.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index 091a27e3ad..0c383f5847 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -4036,12 +4036,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int 
flags, Edje_Calc_Params *sta
              ted = _edje_fetch(ep->typedata.swallow->swallowed_object);
              _edje_recalc_do(ted);
           }
-     }
-   if (ep->part->type == EDJE_PART_TYPE_GROUP &&
-       ((ep->type == EDJE_RP_TYPE_SWALLOW) &&
-        (ep->typedata.swallow)) &&
-       ep->typedata.swallow->swallowed_object)
-     {
+
         Edje_Size *min = NULL, *max = NULL;
 
         if (ep->chosen_description)

-- 


Reply via email to