summaryrefslogtreecommitdiff
path: root/ext/io/console
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-10 10:07:00 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-17 13:55:04 +0900
commita9d17af242748c160cb79909fd881e06141fe428 (patch)
tree4014f92efd6bfdd50a606ef0e6d4be7762cfe99d /ext/io/console
parent64ce658ec5a6d6fc6eb969f607e703fd9372287a (diff)
[ruby/io-console] Removed dead code
https://github.com/ruby/io-console/commit/a49462ed97
Diffstat (limited to 'ext/io/console')
-rw-r--r--ext/io/console/console.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c
index 7a8ab8a..546f962 100644
--- a/ext/io/console/console.c
+++ b/ext/io/console/console.c
@@ -465,7 +465,6 @@ nogvl_getch(void *p)
switch (c) {
case WEOF:
break;
- return (VALUE)0;
case 0x00:
case 0xe0:
buf[len++] = c;