mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Suppress a unused-variable warning
This commit is contained in:
parent
75d48a533d
commit
7c879cbb3f
1 changed files with 2 additions and 0 deletions
|
@ -203,7 +203,9 @@ VALUE io_spec_rb_io_close(VALUE self, VALUE io) {
|
|||
|
||||
VALUE io_spec_rb_io_set_nonblock(VALUE self, VALUE io) {
|
||||
rb_io_t* fp;
|
||||
#ifdef F_GETFL
|
||||
int flags;
|
||||
#endif
|
||||
GetOpenFile(io, fp);
|
||||
rb_io_set_nonblock(fp);
|
||||
#ifdef F_GETFL
|
||||
|
|
Loading…
Add table
Reference in a new issue