aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2003-08-28 08:19:07 +0000
committerKenichi Handa2003-08-28 08:19:07 +0000
commit85478bc688a99b83db58452e5b3318389b1bfb96 (patch)
tree521166ce9aa9988d72accb544115b3f570c33e4f /src
parentcb72110db2d80e522c199bde20d5c0857c0620fd (diff)
downloademacs-85478bc688a99b83db58452e5b3318389b1bfb96.tar.gz
emacs-85478bc688a99b83db58452e5b3318389b1bfb96.zip
(decode_coding_iso2022): Initialized local variable c2.
(decode_coding_sjis_big5): Likewise.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/coding.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c9bbb5e9ee2..21bd69c7a7e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12003-08-28 David Abrahams <dave@boost-consulting.com> (tiny change)
2
3 * coding.c (decode_coding_iso2022): Initialized local variable c2.
4 (decode_coding_sjis_big5): Likewise.
5
12003-08-27 Jason Rumney <jasonr@gnu.org> 62003-08-27 Jason Rumney <jasonr@gnu.org>
2 7
3 * w32.c (sys_pipe): Protect against file descriptor overflow. 8 * w32.c (sys_pipe): Protect against file descriptor overflow.
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)
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);
@@ -3050,7 +3050,7 @@ decode_coding_sjis_big5 (coding, source, destination,
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);