From: Florian Krohm Date: Thu, 16 Jul 2015 21:42:11 +0000 (+0000) Subject: Fix an obvious typo as reported by dcb314@hotmail.com in BZ #350251. X-Git-Tag: svn/VALGRIND_3_11_0^2~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a3575dd68e4a1e5d04fea0410309cac4150a170;p=thirdparty%2Fvalgrind.git Fix an obvious typo as reported by dcb314@hotmail.com in BZ #350251. git-svn-id: svn://svn.valgrind.org/vex/trunk@3164 --- diff --git a/VEX/useful/test_main.c b/VEX/useful/test_main.c index 2b47591de5..637b4e723f 100644 --- a/VEX/useful/test_main.c +++ b/VEX/useful/test_main.c @@ -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; }