diff options
author | Qi Wang <interwq@gwu.edu> | 2017-09-18 14:22:44 -0700 |
---|---|---|
committer | Qi Wang <interwq@gmail.com> | 2017-09-21 12:18:10 -0700 |
commit | d60f3bac1237666922c16e7a1b281a2c7721863c (patch) | |
tree | 05056e63ae8d49dcf9298303c9b7b65c6861ec86 /include | |
parent | 9e39425bf1653e4bebb7b377dd716f98cab069ff (diff) | |
download | platform_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.h | 2 |
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; |