Skip to content

Commit

Permalink
geo: remove needless subtraction
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Nov 13, 2012
1 parent 7bb6149 commit a0589ed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/geo.c
Expand Up @@ -1960,7 +1960,6 @@ geo_distance_rectangle_short_dist_type(quadrant_type quad_type,
double longitude_delta, latitude_delta;

longitude_delta = lng2 - lng1;
latitude_delta = lat2 - lat1;
if (quad_type == QUADRANT_1ST_TO_4TH ||
quad_type == QUADRANT_4TH_TO_1ST ||
quad_type == QUADRANT_2ND_TO_3RD ||
Expand Down

0 comments on commit a0589ed

Please sign in to comment.