summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-10-11 11:29:26 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-10-11 11:29:26 +0000
commit60fdc4134646d56cf2f3f99539f4469c9431ccd5 (patch)
tree5d4b0d39c7dd782c5fe4912e5d3665f3c443586e /clang/lib
parentb29a74389190d649aeb96a5d1f949a3aaf4e744a (diff)
downloadbcm5719-llvm-60fdc4134646d56cf2f3f99539f4469c9431ccd5.tar.gz
bcm5719-llvm-60fdc4134646d56cf2f3f99539f4469c9431ccd5.zip
Suppress a warning about an unused variable in NDEBUG builds.
llvm-svn: 219571
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/CodeGen/CGExprScalar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGExprScalar.cpp b/clang/lib/CodeGen/CGExprScalar.cpp
index ac6afe48453..5ca2414efa7 100644
--- a/clang/lib/CodeGen/CGExprScalar.cpp
+++ b/clang/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());
OpenPOWER on IntegriCloud