summaryrefslogtreecommitdiff
path: root/src/geohash_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/geohash_helper.c')
-rw-r--r--src/geohash_helper.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/geohash_helper.c b/src/geohash_helper.c
index 6e8ca4070..a65759bc4 100644
--- a/src/geohash_helper.c
+++ b/src/geohash_helper.c
@@ -78,12 +78,6 @@ uint8_t geohashEstimateStepsByRadius(double range_meters, double lat) {
return step;
}
-int geohashBitsComparator(const GeoHashBits *a, const GeoHashBits *b) {
- /* If step not equal, compare on step. Else, compare on bits. */
- return a->step != b->step ? (a->step - b->step) :
- ((int64_t)a->bits - (int64_t)b->bits);
-}
-
int geohashBoundingBox(double longitude, double latitude, double radius_meters,
double *bounds) {
if (!bounds) return 0;