[Groonga-commit] groonga/groonga [master] geo: remove needless subtraction

Back to archive index

HAYASHI Kentaro null+****@clear*****
Tue Nov 13 17:15:28 JST 2012


HAYASHI Kentaro	2012-11-13 17:15:28 +0900 (Tue, 13 Nov 2012)

  New Revision: a0589edceadfece06df6dfaef671b788c473d75e
  https://github.com/groonga/groonga/commit/a0589edceadfece06df6dfaef671b788c473d75e

  Log:
    geo: remove needless subtraction

  Modified files:
    lib/geo.c

  Modified: lib/geo.c (+0 -1)
===================================================================
--- lib/geo.c    2012-11-13 17:14:04 +0900 (f45b467)
+++ lib/geo.c    2012-11-13 17:15:28 +0900 (6e86e58)
@@ -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 ||
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index