diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-07-29 23:03:59 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-07-29 23:05:00 +0900 |
commit | 968c7b4398ea82f764ced57f1d38606ef4b0c8e6 (patch) | |
tree | 68f14b114dedf34607b82bcf09dbcb24bfc82241 /cont.c | |
parent | a5ea55feb4ef8c482b4639936dd828e0ec27262f (diff) | |
download | bundler-968c7b4398ea82f764ced57f1d38606ef4b0c8e6.tar.gz |
Fix unused variable
Diffstat (limited to 'cont.c')
-rw-r--r-- | cont.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -669,11 +669,11 @@ fiber_pool_stack_release(struct fiber_pool_stack * stack) #ifdef FIBER_POOL_ALLOCATION_FREE struct fiber_pool_allocation * allocation = stack->allocation; - stack->allocation->used -= 1; + allocation->used -= 1; // Release address space and/or dirty memory: - if (stack->allocation->used == 0) { - fiber_pool_allocation_free(stack->allocation); + if (allocation->used == 0) { + fiber_pool_allocation_free(allocation); } else if (stack->pool->free_stacks) { fiber_pool_stack_free(&vacancy->stack); |