summaryrefslogtreecommitdiffstats
path: root/libdw/dwarf_getattrs.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2019-03-07 12:05:25 +0100
committerMark Wielaard <[email protected]>2019-03-07 12:05:25 +0100
commit14030673602a4f331f348decd51e5f0160719f0e (patch)
treedb1e66a97a8133c34920699ccfeda56e2b01a965 /libdw/dwarf_getattrs.c
parentb244a241a82c28f7fef33f37d82bc47631ceca4e (diff)
parent1e52d4ce3aa2093d12901d32fe07aae70211fe2a (diff)
Merge tag 'elfutils-0.176' into mjw/RH-DTSdts-0.176
elfutils 0.176 release Conflicts: tests/run-readelf-mixed-corenote.sh: Remove riscv testcase.
Diffstat (limited to 'libdw/dwarf_getattrs.c')
-rw-r--r--libdw/dwarf_getattrs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdw/dwarf_getattrs.c b/libdw/dwarf_getattrs.c
index 50faf988..4ac16b1a 100644
--- a/libdw/dwarf_getattrs.c
+++ b/libdw/dwarf_getattrs.c
@@ -44,7 +44,7 @@ dwarf_getattrs (Dwarf_Die *die, int (*callback) (Dwarf_Attribute *, void *),
if (unlikely (offset == 1))
return 1;
- const unsigned char *die_addr;
+ const unsigned char *die_addr = NULL;
/* Find the abbreviation entry. */
Dwarf_Abbrev *abbrevp = __libdw_dieabbrev (die, &die_addr);