changeset 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 373b8dc17c8b
children 51c753fc4fc8
files src/coding.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Wed Aug 27 22:57:54 2003 +0000
+++ b/src/coding.c	Thu Aug 28 08:17:07 2003 +0000
@@ -1823,7 +1823,7 @@
 
   while (1)
     {
-      int c1, c2;
+      int c1, c2 = 0;
 
       src_base = src;
       ONE_MORE_BYTE (c1);
@@ -3050,7 +3050,7 @@
   coding->produced_char = 0;
   while (1)
     {
-      int c, charset, c1, c2;
+      int c, charset, c1, c2 = 0;
 
       src_base = src;
       ONE_MORE_BYTE (c1);