summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-18 01:59:00 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-18 01:59:00 +0000
commit749df1d0fd6252b73d0f283feebb597f6f750bdf (patch)
tree5a2796521a2c923270736344e1cb1d9d1052b461 /eval.c
parent392f342f04b8039bb5a352b17dac02311e260276 (diff)
* dir.c (dir_s_glob): remove unused variable.
* math.c (math_log): ditto. * re.c (rb_reg_regcomp): ditto. * eval.c (break_jump): ditto. * eval.c (rb_thread_yield_0): remove unused function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 7bc11350c1..4cca629a86 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)
{