summaryrefslogtreecommitdiffstats
path: root/libdw/dwarf_siblingof.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdw/dwarf_siblingof.c')
-rw-r--r--libdw/dwarf_siblingof.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdw/dwarf_siblingof.c b/libdw/dwarf_siblingof.c
index ac9d2877..2f451d5d 100644
--- a/libdw/dwarf_siblingof.c
+++ b/libdw/dwarf_siblingof.c
@@ -56,6 +56,7 @@
#include <dwarf.h>
#include <string.h>
+
int
dwarf_siblingof (die, result)
Dwarf_Die *die;
@@ -113,6 +114,7 @@ dwarf_siblingof (die, result)
/* This abbreviation has children. */
++level;
+
while (1)
{
/* Make sure we are still in range. Some producers might skip