summaryrefslogtreecommitdiff
path: root/ext/io/console/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/io/console/console.c')
-rw-r--r--ext/io/console/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c
index 87101fe..6fa0e90 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);