* format.c (bfd_check_format_matches): Initialize matching_vector

to keep gcc -Wall quiet.

        * elfcode.h (elf_slurp_reloca_table): Fix typo.
This commit is contained in:
Jeff Law 1994-02-26 03:41:36 +00:00
parent 6232b6c4c5
commit 43ebdfcf4e
2 changed files with 5 additions and 1 deletions

View 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 *)".

View 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;