mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-24 16:13:38 +03:00
Silence compiler warnings.
This commit is contained in:
parent
6716aa8352
commit
8694e2e7b9
1 changed files with 3 additions and 3 deletions
|
|
@ -793,7 +793,7 @@ void *
|
||||||
je_malloc(size_t size)
|
je_malloc(size_t size)
|
||||||
{
|
{
|
||||||
void *ret;
|
void *ret;
|
||||||
size_t usize;
|
size_t usize JEMALLOC_CC_SILENCE_INIT(0);
|
||||||
prof_thr_cnt_t *cnt JEMALLOC_CC_SILENCE_INIT(NULL);
|
prof_thr_cnt_t *cnt JEMALLOC_CC_SILENCE_INIT(NULL);
|
||||||
|
|
||||||
if (malloc_init()) {
|
if (malloc_init()) {
|
||||||
|
|
@ -973,7 +973,7 @@ je_calloc(size_t num, size_t size)
|
||||||
{
|
{
|
||||||
void *ret;
|
void *ret;
|
||||||
size_t num_size;
|
size_t num_size;
|
||||||
size_t usize;
|
size_t usize JEMALLOC_CC_SILENCE_INIT(0);
|
||||||
prof_thr_cnt_t *cnt JEMALLOC_CC_SILENCE_INIT(NULL);
|
prof_thr_cnt_t *cnt JEMALLOC_CC_SILENCE_INIT(NULL);
|
||||||
|
|
||||||
if (malloc_init()) {
|
if (malloc_init()) {
|
||||||
|
|
@ -1048,7 +1048,7 @@ void *
|
||||||
je_realloc(void *ptr, size_t size)
|
je_realloc(void *ptr, size_t size)
|
||||||
{
|
{
|
||||||
void *ret;
|
void *ret;
|
||||||
size_t usize;
|
size_t usize JEMALLOC_CC_SILENCE_INIT(0);
|
||||||
size_t old_size = 0;
|
size_t old_size = 0;
|
||||||
size_t old_rzsize JEMALLOC_CC_SILENCE_INIT(0);
|
size_t old_rzsize JEMALLOC_CC_SILENCE_INIT(0);
|
||||||
prof_thr_cnt_t *cnt JEMALLOC_CC_SILENCE_INIT(NULL);
|
prof_thr_cnt_t *cnt JEMALLOC_CC_SILENCE_INIT(NULL);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue