c-common.c (check_format_info): Initialize length_char and fci to keep -Wall quiet.
authorJeffrey A Law <law@cygnus.com>
Fri, 19 Jun 1998 23:52:13 +0000 (23:52 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 19 Jun 1998 23:52:13 +0000 (17:52 -0600)
        * c-common.c (check_format_info): Initialize length_char and
        fci to keep -Wall quiet.

From-SVN: r20627

gcc/ChangeLog
gcc/c-common.c

index 91316319ee6de58f9caf1e3d1c955ef5679ab6e5..329da01f7bfd191b6b54e42727a444d0ba347ee0 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 3a22c17418067e283e749c9b857cd01d6a095e45..9a8d0731bdd2b9b928dfe9eece21d14a9bc59104 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;