From 161cdee26573e02dfc20076aedbebb0fb46cb80b Mon Sep 17 00:00:00 2001 From: drbrain Date: Tue, 31 May 2011 22:27:35 +0000 Subject: * ext/pty/pty.c (pty_check): Restore "not reached" comment. [Ruby 1.9 - Bug #4756] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ext/pty/pty.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f85afbd8ab..3dfde6bf42 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Jun 1 07:26:19 2011 Eric Hodel + + * ext/pty/pty.c (pty_check): Restore "not reached" comment. + [Ruby 1.9 - Bug #4756] + Wed Jun 1 07:21:40 2011 Eric Hodel * ext/zlib/zlib.c: Fix document-method declarations for set_sync and diff --git a/ext/pty/pty.c b/ext/pty/pty.c index 3e5fa8ea99..1461d28262 100644 --- a/ext/pty/pty.c +++ b/ext/pty/pty.c @@ -648,7 +648,7 @@ pty_check(int argc, VALUE *argv, VALUE self) if (!RTEST(exc)) return rb_last_status_get(); raise_from_check(cpid, status); - return Qnil; + return Qnil; /* not reached */ } static VALUE cPTY; -- cgit v1.2.3