From 90252c412fafedfaa93975b514af638a8748f1bf Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Wed, 28 Sep 2011 05:56:28 +0000 Subject: [PATCH] elm genlist: Removed unnecessary local variable. SVN revision: 63638 --- src/lib/elm_genlist.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 370c741..36f3006 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -2352,7 +2352,7 @@ _calc_job(void *data) Evas_Coord minw = -1, minh = 0, y = 0, ow; int in = 0; double t0, t; - Eina_Bool minw_change = EINA_FALSE, changed = EINA_FALSE; + Eina_Bool minw_change = EINA_FALSE; Eina_Bool did_must_recalc = EINA_FALSE; if (!wd) return; @@ -2373,10 +2373,9 @@ _calc_job(void *data) { if (itb->realized) _item_block_unrealize(itb); } - if ((itb->changed) || (changed) || - ((itb->must_recalc) && (!did_must_recalc))) + if ((itb->changed) || ((itb->must_recalc) && (!did_must_recalc))) { - if ((changed) || (itb->must_recalc)) + if (itb->must_recalc) { Eina_List *l; Elm_Genlist_Item *it; -- 2.7.4