From: Petr Machata Date: Thu, 25 Jun 2009 16:30:17 +0000 (+0200) Subject: Two nits. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1f073fe89dd30ce83ac3b109236cdf688ab5ddeb;p=thirdparty%2Felfutils.git Two nits. --- diff --git a/libdw/c++/dwarf_comparator b/libdw/c++/dwarf_comparator index 11261b422..827ddf39e 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. diff --git a/libdw/c++/dwarf_tracker b/libdw/c++/dwarf_tracker index 1c2d563ef..4432d4e13 100644 --- a/libdw/c++/dwarf_tracker +++ b/libdw/c++/dwarf_tracker @@ -214,7 +214,7 @@ namespace elfutils const right_context_type &b) { - return a.size () != a.size (); + return a.size () != b.size (); } // Full match when context_quick_mismatch has returned false.