diff options
Diffstat (limited to 'ext/pty/pty.c')
-rw-r--r-- | ext/pty/pty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pty/pty.c b/ext/pty/pty.c index 1ac89061c1..1a70bf7b61 100644 --- a/ext/pty/pty.c +++ b/ext/pty/pty.c @@ -665,7 +665,7 @@ pty_check(int argc, VALUE *argv, VALUE self) if (!RTEST(exc)) return rb_last_status_get(); raise_from_check(cpid, status); - UNREACHABLE; + UNREACHABLE_RETURN(Qnil); } static VALUE cPTY; |