From beb216d43adec860cf19c634010b637a76633581 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Sat, 11 Oct 2014 11:29:26 +0000 Subject: [PATCH] Suppress a warning about an unused variable in NDEBUG builds. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219571 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGExprScalar.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/CodeGen/CGExprScalar.cpp b/lib/CodeGen/CGExprScalar.cpp index ac6afe4845..5ca2414efa 100644 --- a/lib/CodeGen/CGExprScalar.cpp +++ b/lib/CodeGen/CGExprScalar.cpp @@ -2865,6 +2865,7 @@ Value *ScalarExprEmitter::EmitCompare(const BinaryOperator *E,unsigned UICmpOpc, assert(CGF.getContext().hasSameUnqualifiedType(CETy, CTy->getElementType()) && "The element types must always match."); + (void)CTy; } else { RHS.first = Visit(E->getRHS()); RHS.second = llvm::Constant::getNullValue(RHS.first->getType()); -- 2.40.0