mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-25 18:17:19 +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
|
|
@ -3165,7 +3165,7 @@ arena_i_name_ctl(tsd_t *tsd, const size_t *mib, size_t miblen,
|
|||
void *oldp, size_t *oldlenp, void *newp, size_t newlen) {
|
||||
int ret;
|
||||
unsigned arena_ind;
|
||||
char *name;
|
||||
char *name JEMALLOC_CLANG_ANALYZER_SILENCE_INIT(NULL);
|
||||
|
||||
malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx);
|
||||
MIB_UNSIGNED(arena_ind, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue