diff options
author | Nobuyoshi Nakada <[email protected]> | 2020-07-19 01:30:01 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-07-20 14:59:19 +0900 |
commit | a7c67fc6da1248e98bfa40e961d82471ece0f5aa (patch) | |
tree | 05035f59f9f4edbad7a1b88a9ec455e09d7f0697 | |
parent | 574871781b8fede4ffd2f11f084d87d4f9539745 (diff) |
[ruby/stringio] Removed wrong UNREACHABLE
https://github.com/ruby/stringio/commit/f528538d10
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3334
-rw-r--r-- | ext/stringio/stringio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/stringio/stringio.c b/ext/stringio/stringio.c index d45cc88b40..9ab8537ac1 100644 --- a/ext/stringio/stringio.c +++ b/ext/stringio/stringio.c @@ -1438,7 +1438,6 @@ strio_write(VALUE self, VALUE str) VALUE converted = rb_str_conv_enc(str, enc2, enc); if (converted == str && enc2 != ascii8bit) { /* conversion failed */ rb_enc_check(rb_enc_from_encoding(enc), str); - UNREACHABLE; } str = converted; } |