diff options
Diffstat (limited to 'transcode.c')
| -rw-r--r-- | transcode.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/transcode.c b/transcode.c index d77974132..5158da3bb 100644 --- a/transcode.c +++ b/transcode.c @@ -944,9 +944,6 @@ rb_econv_open(const char *sname, const char *dname, int ecflags) num_trans++; num_additional++; } - else { - ecflags &= ~(ECONV_CRLF_NEWLINE_ENCODER|ECONV_CR_NEWLINE_ENCODER); - } if (ecflags & ECONV_UNIVERSAL_NEWLINE_DECODER) { transcoder_entry_t *e = get_transcoder_entry("universal_newline", ""); @@ -958,9 +955,6 @@ rb_econv_open(const char *sname, const char *dname, int ecflags) num_additional++; universal_newline_decoder_added = 1; } - else { - ecflags &= ~ECONV_UNIVERSAL_NEWLINE_DECODER; - } ec = rb_econv_open_by_transcoder_entries(num_trans, entries); xfree(entries); |
