Commit ee05f961 authored by Paul Eggert's avatar Paul Eggert
Browse files

* coding.c (decode_coding_emacs_mule): Mark variables that gcc

-Wuninitialized does not deduce are never used uninitialized.
parent 5f58e762
......@@ -54,8 +54,8 @@
Now static, since they're not used elsewhere.
(decode_coding_iso_2022): Add "default: abort ();" as a safety check.
(decode_coding_object, encode_coding_object, detect_coding_system):
Mark variables that gcc -Wuninitialized does not deduce are never
used uninitialized.
(decode_coding_emacs_mule): Mark variables that gcc
-Wuninitialized does not deduce are never used uninitialized.
(ISO_CODE_LF, ISO_CODE_CR, CODING_ISO_FLAG_EUC_TW_SHIFT):
(ONE_MORE_BYTE_NO_CHECK, UTF_BOM, UTF_16_INVALID_P):
(SHIFT_OUT_OK, ENCODE_CONTROL_SEQUENCE_INTRODUCER):
......@@ -2365,7 +2365,7 @@ decode_coding_emacs_mule (struct coding_system *coding)
while (1)
{
int c, id;
int c, id IF_LINT (= 0);
src_base = src;
consumed_chars_base = consumed_chars;
......@@ -2410,7 +2410,7 @@ decode_coding_emacs_mule (struct coding_system *coding)
}
else
{
int nchars, nbytes;
int nchars IF_LINT (= 0), nbytes IF_LINT (= 0);
/* emacs_mule_char can load a charset map from a file, which
allocates a large structure and might cause buffer text
to be relocated as result. Thus, we need to remember the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment