ruby-changes:59299
From: Nobuyoshi <ko1@a...>
Date: Tue, 17 Dec 2019 18:42:26 +0900 (JST)
Subject: [ruby-changes:59299] a9d17af242 (master): [ruby/io-console] Removed dead code
https://git.ruby-lang.org/ruby.git/commit/?id=a9d17af242 From a9d17af242748c160cb79909fd881e06141fe428 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 10 Dec 2019 10:07:00 +0900 Subject: [ruby/io-console] Removed dead code https://github.com/ruby/io-console/commit/a49462ed97 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) https://github.com/ruby/ruby/blob/trunk/ext/io/console/console.c#L465 switch (c) { case WEOF: break; - return (VALUE)0; case 0x00: case 0xe0: buf[len++] = c; -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/