mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 21:23:06 +00:00
Fix static analysis warnings.
Newly reported warnings included several reserved macro identifier, and false-positive used-uninitialized.
This commit is contained in:
@@ -1208,7 +1208,7 @@ thread_tcache_max_set(tsd_t *tsd, size_t tcache_max) {
|
||||
assert(tcache != NULL && tcache_slow != NULL);
|
||||
|
||||
bool enabled = tcache_available(tsd);
|
||||
arena_t *assigned_arena;
|
||||
arena_t *assigned_arena JEMALLOC_CLANG_ANALYZER_SILENCE_INIT(NULL);
|
||||
if (enabled) {
|
||||
assigned_arena = tcache_slow->arena;
|
||||
/* Carry over the bin settings during the reboot. */
|
||||
|
||||
Reference in New Issue
Block a user