diff options
author | Jason Evans <je@fb.com> | 2012-02-29 05:11:03 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2012-02-29 05:11:03 (GMT) |
commit | bdcadf41e961a3c6bbb37d8d24e4b68a27f2b952 (patch) | |
tree | e4cd0e5e32701d83f4f6aca640e9c607c2cf1b40 /src | |
parent | 3add8d8cda2993f58fd2eba6efbf4fa12d5c72f3 (diff) | |
download | jemalloc-bdcadf41e961a3c6bbb37d8d24e4b68a27f2b952.zip jemalloc-bdcadf41e961a3c6bbb37d8d24e4b68a27f2b952.tar.gz jemalloc-bdcadf41e961a3c6bbb37d8d24e4b68a27f2b952.tar.bz2 |
Remove unused variable in arena_run_split().
Submitted by Mike Hommey.
Diffstat (limited to 'src')
-rw-r--r-- | src/arena.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/arena.c b/src/arena.c index 72b7f44..c14cb2c 100644 --- a/src/arena.c +++ b/src/arena.c @@ -188,12 +188,11 @@ arena_run_split(arena_t *arena, arena_run_t *run, size_t size, bool large, bool zero) { arena_chunk_t *chunk; - size_t old_ndirty, run_ind, total_pages, need_pages, rem_pages, i; + size_t run_ind, total_pages, need_pages, rem_pages, i; size_t flag_dirty; arena_avail_tree_t *runs_avail; chunk = (arena_chunk_t *)CHUNK_ADDR2BASE(run); - old_ndirty = chunk->ndirty; run_ind = (unsigned)(((uintptr_t)run - (uintptr_t)chunk) >> PAGE_SHIFT); flag_dirty = chunk->map[run_ind-map_bias].bits & CHUNK_MAP_DIRTY; |