Fix an unused variable warning; NFC
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Tue, 6 Mar 2018 07:45:11 +0000 (07:45 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Tue, 6 Mar 2018 07:45:11 +0000 (07:45 +0000)
llvm-svn: 326767

clang/lib/Analysis/CFG.cpp

index f8517cb..ae18278 100644 (file)
@@ -1165,6 +1165,7 @@ void CFGBuilder::consumeConstructionContext(
     const ConstructionContextLayer *Layer, CXXConstructExpr *CE) {
   if (const ConstructionContextLayer *PreviouslyStoredLayer =
           ConstructionContextMap.lookup(CE)) {
+    (void)PreviouslyStoredLayer;
     // We might have visited this child when we were finding construction
     // contexts within its parents.
     assert(PreviouslyStoredLayer->isStrictlyMoreSpecificThan(Layer) &&