aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-31 22:27:35 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-31 22:27:35 +0000
commit161cdee26573e02dfc20076aedbebb0fb46cb80b (patch)
treeb4bf6fc2b79f0bdd849d01df5db6d70455c60f0c
parent290c4db6e6190ba049c965e9f9754c893428072d (diff)
downloadruby-161cdee26573e02dfc20076aedbebb0fb46cb80b.tar.gz
* 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
-rw-r--r--ChangeLog5
-rw-r--r--ext/pty/pty.c2
2 files changed, 6 insertions, 1 deletions
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 <drbrain@segment7.net>
+
+ * ext/pty/pty.c (pty_check): Restore "not reached" comment.
+ [Ruby 1.9 - Bug #4756]
+
Wed Jun 1 07:21:40 2011 Eric Hodel <drbrain@segment7.net>
* 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;