summaryrefslogtreecommitdiff
path: root/ext/io
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-29 15:49:36 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-29 15:49:36 +0000
commit72276eb06b7d16501bd32821befe9b7803a51302 (patch)
tree107d8f9418a6105a66a1141669aba548ac9a1208 /ext/io
parent07cbc8bce8e4798ff7a356d816f43f5bf115615e (diff)
* remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/io')
-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 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);