]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Comment out an unsed function to avoid a compiler warning.
authorFlorian Krohm <florian@eich-krohm.de>
Wed, 16 Jul 2014 20:29:38 +0000 (20:29 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Wed, 16 Jul 2014 20:29:38 +0000 (20:29 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@2903

VEX/priv/ir_opt.c

index ded301882d4081e1a78b949cfb1ddb72b2ffe9f1..d1fe9ad20c3fcde2653ed37b75ec197a7ecedb2d 100644 (file)
@@ -1178,13 +1178,16 @@ static Bool isZeroU32 ( IRExpr* e )
                   && e->Iex.Const.con->Ico.U32 == 0);
 }
 
-/* Is this literally IRExpr_Const(IRConst_U64(0)) ? */
+/* Is this literally IRExpr_Const(IRConst_U64(0)) ?
+   Currently unused; commented out to avoid compiler warning */
+#if 0
 static Bool isZeroU64 ( IRExpr* e )
 {
    return toBool( e->tag == Iex_Const 
                   && e->Iex.Const.con->tag == Ico_U64
                   && e->Iex.Const.con->Ico.U64 == 0);
 }
+#endif
 
 /* Is this literally IRExpr_Const(IRConst_V128(0)) ? */
 static Bool isZeroV128 ( IRExpr* e )