diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-08 23:00:32 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-08 23:00:32 +0000 |
commit | 1a0713f1311d64a4583a0a82ee7b0479513651fb (patch) | |
tree | e4170fc9053f247f12b1817e7d1278b2c5371a53 /win32 | |
parent | af1db3f1b337fecb2f59bf6ddcb529b537fd5af3 (diff) | |
download | ruby-1a0713f1311d64a4583a0a82ee7b0479513651fb.tar.gz |
* win32/win32.c (rb_w32_write_console): remove unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/win32/win32.c b/win32/win32.c index 45c2f86a6d..1ee56aaf2c 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -7031,7 +7031,6 @@ rb_w32_write(int fd, const void *buf, size_t size) long rb_w32_write_console(uintptr_t strarg, int fd) { - static int disable; HANDLE handle; DWORD dwMode, reslen; VALUE str = strarg; @@ -7041,7 +7040,6 @@ rb_w32_write_console(uintptr_t strarg, int fd) struct constat *s; long len; - if (disable) return -1L; handle = (HANDLE)_osfhnd(fd); if (!GetConsoleMode(handle, &dwMode)) return -1L; |