* c-common.c (check_format_info): Initialize length_char and
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jun 1998 23:52:13 +0000 (23:52 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jun 1998 23:52:13 +0000 (23:52 +0000)
        fci to keep -Wall quiet.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20627 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c-common.c

index 9131631..329da01 100644 (file)
@@ -1,5 +1,8 @@
 Sat Jun 20 00:36:16 1998  Jeffrey A Law  (law@cygnus.com)
 
+       * c-common.c (check_format_info): Initialize length_char and
+       fci to keep -Wall quiet.
+
        * except.c (jumpif_rtx): Put declaration and definition
        inside a suitable #ifdef.
        (jumpifnot_rtx): Delete dead function.
index 3a22c17..9a8d073 100644 (file)
@@ -1240,7 +1240,7 @@ check_format_info (info, params)
   int i;
   int arg_num;
   int suppressed, wide, precise;
-  int length_char;
+  int length_char = 0;
   int format_char;
   int format_length;
   tree format_tree;
@@ -1249,7 +1249,7 @@ check_format_info (info, params)
   tree wanted_type;
   tree first_fillin_param;
   char *format_chars;
-  format_char_info *fci;
+  format_char_info *fci = NULL;
   char flag_chars[8];
   int has_operand_number = 0;