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:
antirez 2017-01-30 09:16:05 +01:00
parent 874804da0c
commit 1177cf6395

View File

@ -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. */