summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-09-18 21:22:44 (GMT)
committerQi Wang <interwq@gmail.com>2017-09-21 19:18:10 (GMT)
commitd60f3bac1237666922c16e7a1b281a2c7721863c (patch)
tree05056e63ae8d49dcf9298303c9b7b65c6861ec86
parent9e39425bf1653e4bebb7b377dd716f98cab069ff (diff)
downloadjemalloc-d60f3bac1237666922c16e7a1b281a2c7721863c.zip
jemalloc-d60f3bac1237666922c16e7a1b281a2c7721863c.tar.gz
jemalloc-d60f3bac1237666922c16e7a1b281a2c7721863c.tar.bz2
Add missing field in initializer for rtree cache.
Fix a warning by -Wmissing-field-initializers.
-rw-r--r--include/jemalloc/internal/rtree_tsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/jemalloc/internal/rtree_tsd.h b/include/jemalloc/internal/rtree_tsd.h
index 3cdc862..93a7517 100644
--- a/include/jemalloc/internal/rtree_tsd.h
+++ b/include/jemalloc/internal/rtree_tsd.h
@@ -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;