1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

remove a compile error.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mame 2008-05-29 13:44:29 +00:00
parent 8fefe64adc
commit 47cc870a5a

2
io.c
View file

@ -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);
}