* ecoff.c (_bfd_ecoff_write_armap): Initialise rehash.

(ecoff_link_add_archive_symbols): Likewise.
* coff-m68k.c (m68kcoff_common_addend_rtype_to_howto): Initialise relent.howto.
* ieee.c (parse_int): Initialise x.
  (must_parse_int): Initialise result.
  (ieee_slurp_external_symbols): Initialise value.
This commit is contained in:
Nick Clifton
2007-04-21 07:49:29 +00:00
parent db55703487
commit 1b0b5b1b6a
4 changed files with 16 additions and 5 deletions

View File

@@ -3087,7 +3087,7 @@ _bfd_ecoff_write_armap (bfd *abfd,
last_elt = current;
for (i = 0; i < orl_count; i++)
{
unsigned int hash, rehash;
unsigned int hash, rehash = 0;
/* Advance firstreal to the file position of this archive
element. */
@@ -3757,7 +3757,7 @@ ecoff_link_add_archive_symbols (bfd *abfd, struct bfd_link_info *info)
while (*pundef != NULL)
{
struct bfd_link_hash_entry *h;
unsigned int hash, rehash;
unsigned int hash, rehash = 0;
unsigned int file_offset;
const char *name;
bfd *element;