forked from enlightenment/efl
3d, flip_page test: Removed dead assignments which were reported by
clang. https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-XJSqtb.html#EndPath https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-XcpYrk.html#EndPath
This commit is contained in:
parent
b01433ff47
commit
bfb91fe341
|
@ -134,7 +134,6 @@ _cube_pos(Cube *c,
|
||||||
evas_map_point_coord_get(m, j, NULL, NULL, &(tz[j]));
|
evas_map_point_coord_get(m, j, NULL, NULL, &(tz[j]));
|
||||||
mz[i] = (tz[0] + tz[1] + tz[2] + tz[3]) / 4;
|
mz[i] = (tz[0] + tz[1] + tz[2] + tz[3]) / 4;
|
||||||
}
|
}
|
||||||
sorted = 0;
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
sorted = 1;
|
sorted = 1;
|
||||||
|
|
|
@ -316,7 +316,7 @@ _state_update(State *st)
|
||||||
Slice *sl;
|
Slice *sl;
|
||||||
double b, minv = 0.0, minva, mgrad;
|
double b, minv = 0.0, minva, mgrad;
|
||||||
int gx, gy, gszw, gszh, gw, gh, col, row, nw, nh;
|
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;
|
||||||
Vertex3 *tvo, *tvol;
|
Vertex3 *tvo, *tvol;
|
||||||
|
|
||||||
st->backflip = 0;
|
st->backflip = 0;
|
||||||
|
@ -408,11 +408,8 @@ _state_update(State *st)
|
||||||
}
|
}
|
||||||
|
|
||||||
perc = (double)xx2 / (double)xx1;
|
perc = (double)xx2 / (double)xx1;
|
||||||
percm = (double)mx / (double)xx1;
|
|
||||||
if (perc < 0.0) perc = 0.0;
|
if (perc < 0.0) perc = 0.0;
|
||||||
else if (perc > 1.0) perc = 1.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);
|
minva = atan(minv) / (M_PI / 2);
|
||||||
if (minva < 0.0) minva = -minva;
|
if (minva < 0.0) minva = -minva;
|
||||||
|
|
Loading…
Reference in New Issue