From 43ebdfcf4ed8ea1dfa1bebce5c7d20e753411a28 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sat, 26 Feb 1994 03:41:36 +0000 Subject: [PATCH] * format.c (bfd_check_format_matches): Initialize matching_vector to keep gcc -Wall quiet. * elfcode.h (elf_slurp_reloca_table): Fix typo. --- bfd/ChangeLog | 5 +++++ bfd/elfcode.h | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) 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; -- 2.30.2