mirror of
https://github.com/fluencelabs/redis
synced 2025-06-10 15:51: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) {
|
||||
GeoHashRange 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);
|
||||
|
||||
/* Dump center square. */
|
||||
|
Reference in New Issue
Block a user