summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/c-common.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 91316319ee6..329da01f7bf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 3a22c174180..9a8d0731bdd 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -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;