From 8536c066eb59a42279922bb3d87a4753aab22ad9 Mon Sep 17 00:00:00 2001 From: Woochanlee Date: Tue, 29 Oct 2019 09:37:56 -0400 Subject: [PATCH] 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)