]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@326767 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/CFG.cpp

index f8517cb3b1366286bf25b99a5d86c984854cbf7b..ae18278a0d9e850231ead96af1c6414d5b45e1ce 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) &&