mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 08:41:21 +00:00
Avoid geo.c warning in initialization.
This problem was properly solved in 4.0 / unstable. Here is just a quick fix for the warning.
This commit is contained in:
@ -352,7 +352,7 @@ int membersOfAllNeighbors(robj *zobj, GeoHashRadius n, double lon, double lat, d
|
|||||||
if (debugmsg) {
|
if (debugmsg) {
|
||||||
GeoHashRange long_range, lat_range;
|
GeoHashRange long_range, lat_range;
|
||||||
geohashGetCoordRange(&long_range,&lat_range);
|
geohashGetCoordRange(&long_range,&lat_range);
|
||||||
GeoHashArea myarea = {{0}};
|
GeoHashArea myarea = {{0,0},{0,0},{0,0}};
|
||||||
geohashDecode(long_range, lat_range, neighbors[i], &myarea);
|
geohashDecode(long_range, lat_range, neighbors[i], &myarea);
|
||||||
|
|
||||||
/* Dump center square. */
|
/* Dump center square. */
|
||||||
|
Reference in New Issue
Block a user