diff options
author | Jeffrey A Law <law@cygnus.com> | 1998-06-19 23:52:13 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-06-19 17:52:13 -0600 |
commit | f67aab2c6f10056156a388a40d61efe2358aa70f (patch) | |
tree | 2818ff05576a14c948404dc72c1c1c63779bfdbe /gcc | |
parent | 767f5b145b2233c9ee5d4855a872f7e61fdee9ae (diff) | |
download | gcc-f67aab2c6f10056156a388a40d61efe2358aa70f.zip gcc-f67aab2c6f10056156a388a40d61efe2358aa70f.tar.gz gcc-f67aab2c6f10056156a388a40d61efe2358aa70f.tar.bz2 |
c-common.c (check_format_info): Initialize length_char and fci to keep -Wall quiet.
* c-common.c (check_format_info): Initialize length_char and
fci to keep -Wall quiet.
From-SVN: r20627
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/c-common.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9131631..329da01 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 3a22c17..9a8d073 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; |