mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-26 00:53:34 +03:00
Fix static analysis warnings.
Newly reported warnings included several reserved macro identifier, and false-positive used-uninitialized.
This commit is contained in:
parent
5b72ac098a
commit
bd0a5b0f3b
4 changed files with 5 additions and 4 deletions
|
|
@ -473,7 +473,7 @@ arena_decay_impl(tsdn_t *tsdn, arena_t *arena, decay_t *decay,
|
|||
arena_decide_unforced_purge_eagerness(is_background_thread);
|
||||
bool epoch_advanced = pac_maybe_decay_purge(tsdn, &arena->pa_shard.pac,
|
||||
decay, decay_stats, ecache, eagerness);
|
||||
size_t npages_new;
|
||||
size_t npages_new JEMALLOC_CLANG_ANALYZER_SILENCE_INIT(0);
|
||||
if (epoch_advanced) {
|
||||
/* Backlog is updated on epoch advance. */
|
||||
npages_new = decay_epoch_npages_delta(decay);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue