Skip to content

Commit e8fba7f

Browse files
committed
Fix relpp may be used uninitialized
* objdump.c (dump_relocs_in_section): Warning fix.
1 parent 81a24d0 commit e8fba7f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

binutils/ChangeLog

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2019-03-26 Alan Modra <[email protected]>
2+
3+
* objdump.c (dump_relocs_in_section): Warning fix.
4+
15
2019-03-25 Tamar Christina <[email protected]>
26

37
* testsuite/binutils-all/arm/in-order-all.d: New test.

binutils/objdump.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3632,7 +3632,7 @@ dump_relocs_in_section (bfd *abfd,
36323632
asection *section,
36333633
void *dummy ATTRIBUTE_UNUSED)
36343634
{
3635-
arelent **relpp;
3635+
arelent **relpp = NULL;
36363636
long relcount;
36373637
long relsize;
36383638

0 commit comments

Comments
 (0)