ruby-changes:57170
From: Yusuke <ko1@a...>
Date: Mon, 19 Aug 2019 15:17:32 +0900 (JST)
Subject: [ruby-changes:57170] Yusuke Endoh: c5db4c28f9 (master): cont.c: remove unused STACK_GROW_DIR_DETECTION
https://git.ruby-lang.org/ruby.git/commit/?id=c5db4c28f9 From c5db4c28f9349eb296a360dc08d6b88be66916d1 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Mon, 19 Aug 2019 15:01:48 +0900 Subject: cont.c: remove unused STACK_GROW_DIR_DETECTION to suppress a waring for "unused variable" diff --git a/cont.c b/cont.c index da1075c..de2f843 100644 --- a/cont.c +++ b/cont.c @@ -700,8 +700,6 @@ fiber_initialize_coroutine(rb_fiber_t *fiber, size_t * vm_stack_size) https://github.com/ruby/ruby/blob/trunk/cont.c#L700 rb_execution_context_t *sec = &fiber->cont.saved_ec; void * vm_stack = NULL; - STACK_GROW_DIR_DETECTION; - VM_ASSERT(fiber_pool != NULL); fiber->stack = fiber_pool_stack_acquire(fiber_pool); -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/