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 c23a974671..df425f6ebf 100644 --- a/encoding.c +++ b/encoding.c @@ -812,7 +812,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; } } |