From a7c67fc6da1248e98bfa40e961d82471ece0f5aa Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 19 Jul 2020 01:30:01 +0900 Subject: [PATCH] [ruby/stringio] Removed wrong UNREACHABLE https://github.com/ruby/stringio/commit/f528538d10 --- ext/stringio/stringio.c | 1 - 1 file changed, 1 deletion(-) 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; }