From: seoz Date: Sun, 23 Oct 2011 23:15:58 +0000 (+0000) Subject: elm genlist: Removed dead code. Patch by Hyoyoung Chang X-Git-Tag: REL_F_I9500_20120323_1~17^2~1522 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a8a7d69ac5b2236df819a5f44e548beeee6f02c;p=framework%2Fuifw%2Felementary.git elm genlist: Removed dead code. Patch by Hyoyoung Chang On Sun, Oct 23, 2011 at 8:44 PM, Hyoyoung Chang wrote: > Dear developers > > When i compile elementary, i found something to remove. > And this is for removing unused values in elm_genlist. > > Thank you. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@64331 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 01520b1..f3c6b22 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -706,11 +706,8 @@ _item_highlight(Elm_Gen_Item *it) static void _item_unhighlight(Elm_Gen_Item *it) { - const char *stacking, *selectraise; if ((it->delete_me) || (!it->highlighted)) return; edje_object_signal_emit(VIEW(it), "elm,state,unselected", "elm"); - stacking = edje_object_data_get(VIEW(it), "stacking"); - selectraise = edje_object_data_get(VIEW(it), "selectraise"); if (!it->item->nostacking) { if ((it->item->order_num_in & 0x1) ^ it->item->stacking_even) evas_object_lower(VIEW(it)); @@ -2300,12 +2297,10 @@ _calc_job(void *data) Item_Block *itb, *chb = NULL; Evas_Coord minw = -1, minh = 0, y = 0, ow; int in = 0; - double t0, t; Eina_Bool minw_change = EINA_FALSE; Eina_Bool did_must_recalc = EINA_FALSE; if (!wd) return; - t0 = ecore_time_get(); evas_object_geometry_get(wd->pan_smart, NULL, NULL, &ow, &wd->h); if (wd->w != ow) wd->w = ow; @@ -2409,7 +2404,6 @@ _calc_job(void *data) wd->anchor_y = it_y; } } - t = ecore_time_get(); if (did_must_recalc) { if (!wd->must_recalc_idler)