From 03e83a45aeeeeb4756a6444557ba1c06dff7c6ea Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Wed, 12 Jun 2002 16:39:29 +0000 Subject: [PATCH] * symbols.c (resolve_symbol_value): Initialise final_val. * subsegs.c (subsegs_print_statistics): Cast frchp to void *. --- gas/ChangeLog | 6 ++++++ gas/subsegs.c | 2 +- gas/symbols.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 86b4627a8b9..a97948e7ffe 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2002-06-12 Ben Elliston + + * symbols.c (resolve_symbol_value): Initialise final_val. + + * subsegs.c (subsegs_print_statistics): Cast frchp to void *. + 2002-06-11 Tom Rix * config/tc-ppc.c (ppc_subseg_align): Delete. diff --git a/gas/subsegs.c b/gas/subsegs.c index c8159531ef3..99d2a8b866c 100644 --- a/gas/subsegs.c +++ b/gas/subsegs.c @@ -652,7 +652,7 @@ subsegs_print_statistics (file) count++; } fprintf (file, "\n"); - fprintf (file, "\t%p %-10s\t%10d frags\n", frchp, + fprintf (file, "\t%p %-10s\t%10d frags\n", (void *) frchp, segment_name (frchp->frch_seg), count); } } diff --git a/gas/symbols.c b/gas/symbols.c index 58d0c0793ac..63b4d47a2a4 100644 --- a/gas/symbols.c +++ b/gas/symbols.c @@ -839,7 +839,7 @@ resolve_symbol_value (symp) symbolS *symp; { int resolved; - valueT final_val; + valueT final_val = 0; segT final_seg; #ifdef BFD_ASSEMBLER -- 2.30.2