comparison src/coding.c @ 52354:5480186284b2

(decode_coding_iso2022): Initialized local variable c2. (decode_coding_sjis_big5): Likewise.
author Kenichi Handa <handa@m17n.org>
date Thu, 28 Aug 2003 08:17:07 +0000
parents 95dd8ee86d65
children 695cf19ef79e
comparison
equal deleted inserted replaced
52353:373b8dc17c8b 52354:5480186284b2
1821 1821
1822 coding->result = CODING_FINISH_NORMAL; 1822 coding->result = CODING_FINISH_NORMAL;
1823 1823
1824 while (1) 1824 while (1)
1825 { 1825 {
1826 int c1, c2; 1826 int c1, c2 = 0;
1827 1827
1828 src_base = src; 1828 src_base = src;
1829 ONE_MORE_BYTE (c1); 1829 ONE_MORE_BYTE (c1);
1830 1830
1831 /* We produce no character or one character. */ 1831 /* We produce no character or one character. */
3048 } 3048 }
3049 3049
3050 coding->produced_char = 0; 3050 coding->produced_char = 0;
3051 while (1) 3051 while (1)
3052 { 3052 {
3053 int c, charset, c1, c2; 3053 int c, charset, c1, c2 = 0;
3054 3054
3055 src_base = src; 3055 src_base = src;
3056 ONE_MORE_BYTE (c1); 3056 ONE_MORE_BYTE (c1);
3057 3057
3058 if (c1 < 0x80) 3058 if (c1 < 0x80)