]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Two nits.
authorPetr Machata <pmachata@redhat.com>
Thu, 25 Jun 2009 16:30:17 +0000 (18:30 +0200)
committerPetr Machata <pmachata@redhat.com>
Thu, 25 Jun 2009 16:30:17 +0000 (18:30 +0200)
libdw/c++/dwarf_comparator
libdw/c++/dwarf_tracker

index 11261b422d8770a4ff3447ce8fa60b4931d00d11..827ddf39eaa9bf8deeb7acd95f1670ea0ac9bda7 100644 (file)
@@ -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.
index 1c2d563ef7b99642fedf2b246df2021bd96e5402..4432d4e13f7bae2695b7fe1a7f9b024c3c23d384 100644 (file)
@@ -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.