mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 13:13:06 +00:00
Fix a zero-initializer warning on macOS.
This commit is contained in:
@@ -10,7 +10,7 @@ typedef struct tcaches_s tcaches_t;
|
||||
|
||||
/* Used in TSD static initializer only. Real init in tsd_tcache_data_init(). */
|
||||
#define TCACHE_ZERO_INITIALIZER {0}
|
||||
#define TCACHE_SLOW_ZERO_INITIALIZER {0}
|
||||
#define TCACHE_SLOW_ZERO_INITIALIZER {{0}}
|
||||
|
||||
/* Used in TSD static initializer only. Will be initialized to opt_tcache. */
|
||||
#define TCACHE_ENABLED_ZERO_INITIALIZER false
|
||||
|
||||
Reference in New Issue
Block a user