* format.c (bfd_check_format_matches): Initialize matching_vector
authorJeff Law <law@redhat.com>
Sat, 26 Feb 1994 03:41:36 +0000 (03:41 +0000)
committerJeff Law <law@redhat.com>
Sat, 26 Feb 1994 03:41:36 +0000 (03:41 +0000)
        to keep gcc -Wall quiet.

        * elfcode.h (elf_slurp_reloca_table): Fix typo.

bfd/ChangeLog
bfd/elfcode.h

index e2ac8493d976f9c5a89cae48646ee4d712f9e368..e066b0b278628df2dfce50ab48387e93259abf0e 100644 (file)
@@ -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 *)".
 
index b298763eb23469265def21a828974b879aa97560..8b84b1dbd32e46e7a1cf1f69216e11d0c952ca82 100644 (file)
@@ -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;