summaryrefslogtreecommitdiff
path: root/ext/io/console
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-06 03:27:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-06 03:27:16 +0000
commit0c493edcce15d30f09d18fe451c458014be02996 (patch)
tree0dfcf2f13d051cfc2a5e0649200a7d062f987d93 /ext/io/console
parent0496299e1597826a1ae60bb0f1f997baa12a0743 (diff)
merge revision(s) 32747:
* remove unused variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/io/console')
-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);