Only check associated vector if the matching_vector has been created.
This commit is contained in:
parent
e3ab4aba1a
commit
4081944fd1
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-04-18 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* format.c (bfd_check_format_matches): Only check associated
|
||||
vector if the matching_vector has been created.
|
||||
|
||||
2003-04-15 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Fix typo in
|
||||
|
|
|
@ -305,7 +305,9 @@ bfd_check_format_matches (abfd, format, matching)
|
|||
}
|
||||
}
|
||||
|
||||
if (match_count > 1 && bfd_associated_vector != NULL)
|
||||
if (match_count > 1
|
||||
&& bfd_associated_vector != NULL
|
||||
&& matching)
|
||||
{
|
||||
const bfd_target * const *assoc = bfd_associated_vector;
|
||||
|
||||
|
|
Loading…
Reference in a new issue