Fix relpp may be used uninitialized

* objdump.c (dump_relocs_in_section): Warning fix.
This commit is contained in:
Alan Modra 2019-03-26 08:59:11 +10:30
parent 81a24d04df
commit e8fba7f6bb
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2019-03-26 Alan Modra <amodra@gmail.com>
* objdump.c (dump_relocs_in_section): Warning fix.
2019-03-25 Tamar Christina <tamar.christina@arm.com>
* testsuite/binutils-all/arm/in-order-all.d: New test.

View file

@ -3632,7 +3632,7 @@ dump_relocs_in_section (bfd *abfd,
asection *section,
void *dummy ATTRIBUTE_UNUSED)
{
arelent **relpp;
arelent **relpp = NULL;
long relcount;
long relsize;