(decode_coding_emacs_mule): Fix the case of

CODING_EOL_LF, which used an uninitialized value of c.
This commit is contained in:
Eli Zaretskii 2000-11-23 20:37:45 +00:00
parent 34f70eda7f
commit 2bcdf6628b
2 changed files with 6 additions and 2 deletions

View file

@ -616,9 +616,8 @@ decode_coding_emacs_mule (coding, source, destination, src_bytes, dst_bytes)
if (*src == '\r')
{
int c;
int c = *src++;
src++;
if (coding->eol_type == CODING_EOL_CR)
c = '\n';
else if (coding->eol_type == CODING_EOL_CRLF)