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:
parent
8fefe64adc
commit
47cc870a5a
1 changed files with 1 additions and 1 deletions
2
io.c
2
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue