From: Jeff Law Date: Sat, 26 Feb 1994 03:41:36 +0000 (+0000) Subject: * format.c (bfd_check_format_matches): Initialize matching_vector X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43ebdfcf4ed8ea1dfa1bebce5c7d20e753411a28;p=binutils-gdb.git * format.c (bfd_check_format_matches): Initialize matching_vector to keep gcc -Wall quiet. * elfcode.h (elf_slurp_reloca_table): Fix typo. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e2ac8493d97..e066b0b2786 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ Fri Feb 25 16:35:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + * format.c (bfd_check_format_matches): Initialize matching_vector + to keep gcc -Wall quiet. + + * elfcode.h (elf_slurp_reloca_table): Fix typo. + * som.c (som_get_symtab_upper_bound): Use "sizeof (asymbol *)" not "sizeof (som_symbol_type *)". diff --git a/bfd/elfcode.h b/bfd/elfcode.h index b298763eb23..8b84b1dbd32 100644 --- a/bfd/elfcode.h +++ b/bfd/elfcode.h @@ -2790,7 +2790,6 @@ DEFUN (elf_slurp_reloca_table, (abfd, asect, symbols), native_relocs = (Elf_External_Rela *) bfd_alloc (abfd, asect->reloc_count * sizeof (Elf_External_Rela)); if (!native_relocs) - if (!reloc_cache) { bfd_set_error (bfd_error_no_memory); return false;