aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-09-18 14:22:44 -0700
committerQi Wang <interwq@gmail.com>2017-09-21 12:18:10 -0700
commitd60f3bac1237666922c16e7a1b281a2c7721863c (patch)
tree05056e63ae8d49dcf9298303c9b7b65c6861ec86 /include
parent9e39425bf1653e4bebb7b377dd716f98cab069ff (diff)
downloadplatform_external_jemalloc_new-d60f3bac1237666922c16e7a1b281a2c7721863c.tar.gz
platform_external_jemalloc_new-d60f3bac1237666922c16e7a1b281a2c7721863c.tar.bz2
platform_external_jemalloc_new-d60f3bac1237666922c16e7a1b281a2c7721863c.zip
Add missing field in initializer for rtree cache.
Fix a warning by -Wmissing-field-initializers.
Diffstat (limited to 'include')
-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 3cdc8625..93a75173 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;