Silence warnings about unused variables

This commit is contained in:
Eric Fischer 2014-10-24 17:24:04 -07:00
parent 46100c34df
commit 9bb4a549ca
2 changed files with 3 additions and 3 deletions

View File

@ -207,8 +207,8 @@ static draw get_line_intersection(draw p0, draw p1, draw p2, draw p3) {
double s2_x = p3.x - p2.x;
double s2_y = p3.y - p2.y;
double s, t;
s = (-s1_y * (p0.x - p2.x) + s1_x * (p0.y - p2.y)) / (-s2_x * s1_y + s1_x * s2_y);
double t;
//s = (-s1_y * (p0.x - p2.x) + s1_x * (p0.y - p2.y)) / (-s2_x * s1_y + s1_x * s2_y);
t = ( s2_x * (p0.y - p2.y) - s2_y * (p0.x - p2.x)) / (-s2_x * s1_y + s1_x * s2_y);
return draw(VT_LINETO, p0.x + (t * s1_x), p0.y + (t * s1_y));

View File

@ -355,7 +355,7 @@ long long write_tile(struct index *start, struct index *end, char *metabase, uns
double interval = 1;
double seq = 0;
long long count = 0;
long long along = 0;
//long long along = 0;
double accum_area = 0;
if (z < basezoom) {