summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-10-04 04:51:08 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-10-04 04:51:08 +0000
commit758cb647c7ac9e02a9ee0d7cb0934a5c963481e0 (patch)
treea6ad21b14e176e9c3a39a775781b978950315543 /eval.c
parentd426749ff0ec0348e8b2f9e32724ac715aad500b (diff)
19991004
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c7
1 files changed, 3 insertions, 4 deletions
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 {