aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/objdump.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 83aa37c..140ca8c 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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.
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;