summaryrefslogtreecommitdiff
path: root/ext/pty/pty.c
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 /ext/pty/pty.c
parent290c4db6e6190ba049c965e9f9754c893428072d (diff)
* 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
Diffstat (limited to 'ext/pty/pty.c')
-rw-r--r--ext/pty/pty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pty/pty.c b/ext/pty/pty.c
index 3e5fa8e..1461d28 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;