summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-29 13:44:29 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-29 13:44:29 +0000
commit47cc870a5ace622f0f28d397a35c428214127a21 (patch)
tree5b87a57756e03ab1c63591c81c9c96d817be5702 /io.c
parent8fefe64adcde2d470ae137eac98ce86c28852aa6 (diff)
remove a compile error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 6e7e549dd9..88074cbd54 100644
--- a/io.c
+++ b/io.c
@@ -7193,7 +7193,7 @@ argf_readchar(VALUE argf)
VALUE ch;
retry:
- if (!next_argv()) return rb_eof_error();
+ if (!next_argv()) rb_eof_error();
if (TYPE(current_file) != T_FILE) {
ch = rb_funcall3(current_file, rb_intern("getc"), 0, 0);
}