mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix unused variable
This commit is contained in:
parent
a5ea55feb4
commit
968c7b4398
1 changed files with 3 additions and 3 deletions
6
cont.c
6
cont.c
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue