]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix an obvious typo as reported by dcb314@hotmail.com in BZ #350251.
authorFlorian Krohm <florian@eich-krohm.de>
Thu, 16 Jul 2015 21:42:11 +0000 (21:42 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Thu, 16 Jul 2015 21:42:11 +0000 (21:42 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@3164

VEX/useful/test_main.c

index 2b47591de5b6a12930dadcafdc62a024f2f4a210..637b4e723f5d9ce02ee6751dcfe5a530e7157dbd 100644 (file)
@@ -672,9 +672,9 @@ static Bool isShadowAtom ( MCEnv* mce, IRAtom* a1 )
    are identically-kinded. */
 static Bool sameKindedAtoms ( IRAtom* a1, IRAtom* a2 )
 {
-   if (a1->tag == Iex_RdTmp && a1->tag == Iex_RdTmp)
+   if (a1->tag == Iex_RdTmp && a2->tag == Iex_RdTmp)
       return True;
-   if (a1->tag == Iex_Const && a1->tag == Iex_Const)
+   if (a1->tag == Iex_Const && a2->tag == Iex_Const)
       return True;
    return False;
 }