From 758cb647c7ac9e02a9ee0d7cb0934a5c963481e0 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 4 Oct 1999 04:51:08 +0000 Subject: 19991004 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'eval.c') diff --git a/eval.c b/eval.c index d22cf137ee..7a6bff985c 100644 --- a/eval.c +++ b/eval.c @@ -1185,9 +1185,9 @@ rb_eval_string_wrap(str, state) POP_CLASS(); if (state) { *state = status; - if (status) { - JUMP_TAG(status); - } + } + else if (status) { + JUMP_TAG(status); } return val; } @@ -6414,7 +6414,6 @@ rb_thread_schedule() fd_set readfds; struct timeval delay_tv, *delay_ptr; double delay, now; /* OK */ - int n, max; do { -- cgit v1.2.3