aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-03-26 08:59:11 +1030
committerAlan Modra <amodra@gmail.com>2019-03-26 09:01:53 +1030
commite8fba7f6bbc06ee96e527c9ebf4128461336cd20 (patch)
tree51076cf251e2cce450a8e39586c2457aab4c3a73 /binutils/objdump.c
parent81a24d04dfecdbdd9af143043197317dea1119c7 (diff)
downloadgdb-e8fba7f6bbc06ee96e527c9ebf4128461336cd20.zip
gdb-e8fba7f6bbc06ee96e527c9ebf4128461336cd20.tar.gz
gdb-e8fba7f6bbc06ee96e527c9ebf4128461336cd20.tar.bz2
Fix relpp may be used uninitialized
* objdump.c (dump_relocs_in_section): Warning fix.
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r--binutils/objdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index d80b3f5..644638c 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -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;