mirror of
https://github.com/fluencelabs/redis
synced 2025-06-09 23:41:18 +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:
parent
874804da0c
commit
1177cf6395
@ -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. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user