diff options
Diffstat (limited to 'encoding.c')
-rw-r--r-- | encoding.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/encoding.c b/encoding.c index 18f54e684c..b8c5f6d357 100644 --- a/encoding.c +++ b/encoding.c @@ -804,7 +804,6 @@ rb_enc_compatible(VALUE str1, VALUE str2) if (cr2 == ENC_CODERANGE_7BIT) return enc1; } if (cr2 == ENC_CODERANGE_7BIT) { - if (idx1 == ENCINDEX_ASCII) return enc2; return enc1; } } |