summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/eval.c b/eval.c
index 7bc11350c..4cca629a8 100644
--- a/eval.c
+++ b/eval.c
@@ -4621,7 +4621,6 @@ static void
break_jump(VALUE retval)
{
struct tag *tt = prot_tag;
- int yield = 0;
if (retval == Qundef) retval = Qnil;
while (tt) {
@@ -11977,12 +11976,6 @@ rb_thread_terminated(rb_thread_t th, int state, enum thread_status status)
ruby_stop(0); /* last thread termination */
}
-static VALUE
-rb_thread_yield_0(VALUE arg)
-{
- return rb_thread_yield(arg, curr_thread);
-}
-
static void
rb_thread_start_1(void)
{