diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index 096268d1a72..9a6a4484e50 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -2954,7 +2954,12 @@ detect_coding_iso_2022 (struct coding_system *coding, | |||
| 2954 | const unsigned char *src_end = coding->source + coding->src_bytes; | 2954 | const unsigned char *src_end = coding->source + coding->src_bytes; |
| 2955 | int multibytep = coding->src_multibyte; | 2955 | int multibytep = coding->src_multibyte; |
| 2956 | int single_shifting = 0; | 2956 | int single_shifting = 0; |
| 2957 | int id; | 2957 | |
| 2958 | /* FIXME: Does ID need to be initialized here? The "End of composition" | ||
| 2959 | code below does not initialize ID even though ID is used | ||
| 2960 | afterwards, and perhaps that is a bug. */ | ||
| 2961 | int id = 0; | ||
| 2962 | |||
| 2958 | int c, c1; | 2963 | int c, c1; |
| 2959 | int consumed_chars = 0; | 2964 | int consumed_chars = 0; |
| 2960 | int i; | 2965 | int i; |