From bce61d61bbe1b1b4ea15d1cbd3e24252b7e79c47 Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Tue, 7 Jul 2015 09:32:05 -0700 Subject: [PATCH] Move a variable declaration closer to its use. --- src/arena.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/arena.c b/src/arena.c index fa37e306..51e3b252 100644 --- a/src/arena.c +++ b/src/arena.c @@ -2049,7 +2049,6 @@ arena_malloc_large(arena_t *arena, size_t size, bool zero) { void *ret; size_t usize; - uint64_t r; uintptr_t random_offset; arena_run_t *run; arena_chunk_map_misc_t *miscelm; @@ -2059,6 +2058,8 @@ arena_malloc_large(arena_t *arena, size_t size, bool zero) usize = s2u(size); malloc_mutex_lock(&arena->lock); if (config_cache_oblivious) { + uint64_t r; + /* * Compute a uniformly distributed offset within the first page * that is a multiple of the cacheline size, e.g. [0 .. 63) * 64