summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2012-04-23 20:05:32 (GMT)
committerJason Evans <je@fb.com>2012-04-23 20:05:32 (GMT)
commit8694e2e7b901eb3254a7da2461709ba2ce135aba (patch)
tree5c21962c7094f66d536235b499f9547af858591f /src
parent6716aa83526b3f866d73a033970cc920bc61c13f (diff)
downloadjemalloc-8694e2e7b901eb3254a7da2461709ba2ce135aba.zip
jemalloc-8694e2e7b901eb3254a7da2461709ba2ce135aba.tar.gz
jemalloc-8694e2e7b901eb3254a7da2461709ba2ce135aba.tar.bz2
Silence compiler warnings.
Diffstat (limited to 'src')
-rw-r--r--src/jemalloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jemalloc.c b/src/jemalloc.c
index 67ac90b..d9fecef 100644
--- a/src/jemalloc.c
+++ b/src/jemalloc.c
@@ -793,7 +793,7 @@ void *
je_malloc(size_t size)
{
void *ret;
- size_t usize;
+ size_t usize JEMALLOC_CC_SILENCE_INIT(0);
prof_thr_cnt_t *cnt JEMALLOC_CC_SILENCE_INIT(NULL);
if (malloc_init()) {
@@ -973,7 +973,7 @@ je_calloc(size_t num, size_t size)
{
void *ret;
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);
if (malloc_init()) {
@@ -1048,7 +1048,7 @@ void *
je_realloc(void *ptr, size_t size)
{
void *ret;
- size_t usize;
+ size_t usize JEMALLOC_CC_SILENCE_INIT(0);
size_t old_size = 0;
size_t old_rzsize JEMALLOC_CC_SILENCE_INIT(0);
prof_thr_cnt_t *cnt JEMALLOC_CC_SILENCE_INIT(NULL);