summaryrefslogtreecommitdiff
path: root/ext/io/console/console.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-09-03 14:54:14 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-09-03 14:54:14 +0000
commit4ac511266dea82881bcf79ff29b7815a2d5e46ef (patch)
tree7ccb4a14789c6198abdee752419bb464cf17078f /ext/io/console/console.c
parent74f724de1acf9773a4220dedb544b80d4a7311a5 (diff)
* ext/io/console/console.c (console_set_winsize): remove
unused variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/io/console/console.c')
-rw-r--r--ext/io/console/console.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c
index 6fa0e906acf..e7983bbcb9a 100644
--- a/ext/io/console/console.c
+++ b/ext/io/console/console.c
@@ -410,7 +410,9 @@ console_set_winsize(VALUE io, VALUE size)
int newrow, newcol;
#endif
VALUE row, col, xpixel, ypixel;
+#if defined TIOCSWINSZ
int fd;
+#endif
GetOpenFile(io, fptr);
size = rb_Array(size);