diff options
Diffstat (limited to 'ext/io')
-rw-r--r-- | ext/io/console/console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c index 87101fea5e..6fa0e906ac 100644 --- a/ext/io/console/console.c +++ b/ext/io/console/console.c @@ -557,7 +557,7 @@ console_dev(VALUE klass) VALUE out; rb_io_t *ofptr; #endif - int fd, mode; + int fd; #ifdef CONSOLE_DEVICE_FOR_WRITING fd = open(CONSOLE_DEVICE_FOR_WRITING, O_WRONLY); |