diff options
author | antirez <antirez@gmail.com> | 2015-06-29 09:21:31 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2015-06-29 09:21:31 +0200 |
commit | db3df441844f8479cd341d1e2d7553139ee4cfec (patch) | |
tree | b90f53acc0ce6b457cc640d3824dd527eaeddb18 | |
parent | 6d21027a23864500aadcc200fecfc594b98e9c88 (diff) | |
download | redis-db3df441844f8479cd341d1e2d7553139ee4cfec.tar.gz |
Geo: debugging printf calls removed.
-rw-r--r-- | src/geo.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -476,10 +476,6 @@ static void geoRadiusGeneric(redisClient *c, int type) { GeoHashRadius georadius = geohashGetAreasByRadiusWGS84(xy[0], xy[1], radius_meters); -#ifdef DEBUG - printf("Searching with step size: %d\n", georadius.hash.step); -#endif - /* Search the zset for all matching points */ geoArray *ga = geoArrayCreate(); membersOfAllNeighbors(zobj, georadius, xy[0], xy[1], radius_meters, ga); @@ -618,9 +614,6 @@ void geoEncodeCommand(redisClient *c) { GeoHashFix52Bits bits = geohashAlign52Bits(geohash); /* Decode the hash so we can return its bounding box */ -#ifdef DEBUG - printf("Decoding with step size: %d\n", geohash.step); -#endif GeoHashArea area; geohashDecodeWGS84(geohash, &area); |