Remove unnecessary code.

SVN revision: 70434
This commit is contained in:
Jaehwan Kim 2012-04-24 11:09:31 +00:00
parent 44759abe47
commit 8bac5d7eed
1 changed files with 1 additions and 5 deletions

View File

@ -109,7 +109,7 @@ _els_box_layout(Evas_Object *o, Evas_Object_Box_Data *priv, int horizontal, int
Evas_Coord x, y, w, h, xx, yy; Evas_Coord x, y, w, h, xx, yy;
const Eina_List *l; const Eina_List *l;
Evas_Object *obj; Evas_Object *obj;
Evas_Coord minw, minh, wdif, hdif; Evas_Coord minw, minh;
int count = 0; int count = 0;
double expand = 0.0; double expand = 0.0;
double ax, ay; double ax, ay;
@ -164,8 +164,6 @@ _els_box_layout(Evas_Object *o, Evas_Object_Box_Data *priv, int horizontal, int
h = minh; h = minh;
} }
} }
wdif = w - minw;
hdif = h - minh;
xx = x; xx = x;
yy = y; yy = y;
EINA_LIST_FOREACH(priv->children, l, opt) EINA_LIST_FOREACH(priv->children, l, opt)
@ -200,7 +198,6 @@ _els_box_layout(Evas_Object *o, Evas_Object_Box_Data *priv, int horizontal, int
if ((expand > 0) && (xw)) if ((expand > 0) && (xw))
{ {
ow = ((w - minw) * wx) / expand; ow = ((w - minw) * wx) / expand;
wdif -= ow;
ww += ow; ww += ow;
} }
} }
@ -233,7 +230,6 @@ _els_box_layout(Evas_Object *o, Evas_Object_Box_Data *priv, int horizontal, int
if ((expand > 0) && (xh)) if ((expand > 0) && (xh))
{ {
oh = ((h - minh) * wy) / expand; oh = ((h - minh) * wy) / expand;
hdif -= oh;
hh += oh; hh += oh;
} }
} }