forked from enlightenment/efl
flip, gengrid: Removed dead assignments which were reported by clang
build. https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-cMar9x.html#EndPath https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-ZMmiQe.html#EndPath
This commit is contained in:
parent
bfb91fe341
commit
d58b4401e8
|
@ -540,7 +540,7 @@ _state_update(Evas_Object *obj)
|
|||
Evas_Coord xx1, yy1, xx2, yy2, mx, my;
|
||||
Evas_Coord x, y, w, h, ox, oy, ow, oh;
|
||||
int gx, gy, gszw, gszh, gw, gh, col, row, nw, nh;
|
||||
double rho, A, theta, perc, percm, n, rhol, Al, thetal;
|
||||
double rho, A, theta, perc, n, rhol, Al, thetal;
|
||||
|
||||
sd->backflip = EINA_TRUE;
|
||||
if (sd->state)
|
||||
|
@ -627,13 +627,9 @@ _state_update(Evas_Object *obj)
|
|||
}
|
||||
|
||||
perc = (double)xx2 / (double)xx1;
|
||||
percm = (double)mx / (double)xx1;
|
||||
if (perc < 0.0) perc = 0.0;
|
||||
else if (perc > 1.0)
|
||||
perc = 1.0;
|
||||
if (percm < 0.0) percm = 0.0;
|
||||
else if (percm > 1.0)
|
||||
percm = 1.0;
|
||||
|
||||
minva = atan(minv) / (M_PI / 2);
|
||||
if (minva < 0.0) minva = -minva;
|
||||
|
|
|
@ -989,9 +989,6 @@ _item_place(Elm_Gen_Item *it,
|
|||
cvw = vw + 2 * PRELOAD * wsd->item_width;
|
||||
cvh = vh + 2 * PRELOAD * wsd->item_height;
|
||||
|
||||
alignh = 0;
|
||||
alignw = 0;
|
||||
|
||||
items_count = wsd->item_count -
|
||||
eina_list_count(wsd->group_items) + wsd->items_lost;
|
||||
if (wsd->horizontal)
|
||||
|
|
Loading…
Reference in New Issue