Suppress a unused-variable warning
This commit is contained in:
parent
75d48a533d
commit
7c879cbb3f
@ -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…
x
Reference in New Issue
Block a user