summaryrefslogtreecommitdiff
path: root/libdw/c++/dwarf_comparator
diff options
context:
space:
mode:
Diffstat (limited to 'libdw/c++/dwarf_comparator')
-rw-r--r--libdw/c++/dwarf_comparator2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdw/c++/dwarf_comparator b/libdw/c++/dwarf_comparator
index 11261b42..827ddf39 100644
--- a/libdw/c++/dwarf_comparator
+++ b/libdw/c++/dwarf_comparator
@@ -428,7 +428,7 @@ namespace elfutils
const die1 &a = *ref1;
const die2 &b = *ref2;
- if (a.identity () == a.identity ()) // Object identity.
+ if (a.identity () == b.identity ()) // Object identity.
return true;
// Simplest mismatches with the cheapest checks first.