mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-25 00:23:33 +03:00
Fixes to prevent static analysis warnings.
This commit is contained in:
parent
8347f1045a
commit
37bf846cc3
7 changed files with 8 additions and 8 deletions
|
|
@ -112,7 +112,7 @@ pac_may_have_muzzy(pac_t *pac) {
|
|||
return pac_decay_ms_get(pac, extent_state_muzzy) != 0;
|
||||
}
|
||||
|
||||
size_t pac_alloc_retained_batched_size(size_t size) {
|
||||
static size_t pac_alloc_retained_batched_size(size_t size) {
|
||||
if (size > SC_LARGE_MAXCLASS) {
|
||||
/*
|
||||
* A valid input with usize SC_LARGE_MAXCLASS could still
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue