From 8a3523d002eee0eaec6a7497dce7df5b8574b24c Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 29 Jun 2015 09:21:31 +0200 Subject: [PATCH] Geo: debugging printf calls removed. --- src/geo.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/geo.c b/src/geo.c index 8a07879fc..c0efa3ca2 100644 --- a/src/geo.c +++ b/src/geo.c @@ -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);