compiler warning

This commit is contained in:
David Rose 2007-01-30 17:45:55 +00:00
parent 02b5193dd2
commit 6f6eadcd8a

View File

@ -157,10 +157,10 @@ subdivide(int scale, int x, int y) {
if (scale == 0) { if (scale == 0) {
return false; return false;
} }
int size = 1<<scale; // int size = 1<<scale;
int hsize = size >> 1; // int hsize = size >> 1;
int xcenter = x+hsize; // int xcenter = x+hsize;
int ycenter = y+hsize; // int ycenter = y+hsize;
int deltax = x - _focal_x; int deltax = x - _focal_x;
int deltay = y - _focal_y; int deltay = y - _focal_y;
if (deltax < 0) deltax = -deltax; if (deltax < 0) deltax = -deltax;