summaryrefslogtreecommitdiff
path: root/src/coding.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2003-08-28 08:19:07 +0000
committerKenichi Handa <handa@m17n.org>2003-08-28 08:19:07 +0000
commit85478bc688a99b83db58452e5b3318389b1bfb96 (patch)
tree521166ce9aa9988d72accb544115b3f570c33e4f /src/coding.c
parentcb72110db2d80e522c199bde20d5c0857c0620fd (diff)
downloademacs-85478bc688a99b83db58452e5b3318389b1bfb96.tar.gz
(decode_coding_iso2022): Initialized local variable c2.
(decode_coding_sjis_big5): Likewise.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c
index b06bf79a4bf..9a0c4c6ba08 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -1823,7 +1823,7 @@ decode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes)
while (1)
{
- int c1, c2;
+ int c1, c2 = 0;
src_base = src;
ONE_MORE_BYTE (c1);
@@ -3050,7 +3050,7 @@ decode_coding_sjis_big5 (coding, source, destination,
coding->produced_char = 0;
while (1)
{
- int c, charset, c1, c2;
+ int c, charset, c1, c2 = 0;
src_base = src;
ONE_MORE_BYTE (c1);