Add missing field in initializer for rtree cache.

Fix a warning by -Wmissing-field-initializers.
This commit is contained in:
Qi Wang 2017-09-18 14:22:44 -07:00 committed by Qi Wang
parent 9e39425bf1
commit d60f3bac12

View File

@ -26,7 +26,7 @@
* Zero initializer required for tsd initialization only. Proper initialization
* done via rtree_ctx_data_init().
*/
#define RTREE_CTX_ZERO_INITIALIZER {{{0}}}
#define RTREE_CTX_ZERO_INITIALIZER {{{0}}, {{0}}}
typedef struct rtree_leaf_elm_s rtree_leaf_elm_t;