(decode_coding_emacs_mule): Fix the case of
CODING_EOL_LF, which used an uninitialized value of c.
This commit is contained in:
parent
34f70eda7f
commit
2bcdf6628b
2 changed files with 6 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue