Fix stack corruption and uninitialized var warning

Stack corruption happens in x64 bit

This resolves #347.
This commit is contained in:
Dmitri Smirnov
2016-02-29 14:30:19 -08:00
committed by Jason Evans
parent 0e1d5c25c6
commit 33184bf698
2 changed files with 8 additions and 7 deletions

View File

@@ -2423,7 +2423,7 @@ arena_malloc_large(tsd_t *tsd, arena_t *arena, szind_t binind, bool zero)
uintptr_t random_offset;
arena_run_t *run;
arena_chunk_map_misc_t *miscelm;
UNUSED bool idump;
UNUSED bool idump JEMALLOC_CC_SILENCE_INIT(false);
/* Large allocation. */
usize = index2size(binind);