From c9e236569c27f15d3e2853bcb0f943519efa445d Mon Sep 17 00:00:00 2001 From: George Burgess IV Date: Tue, 6 Mar 2018 07:45:11 +0000 Subject: [PATCH] Fix an unused variable warning; NFC git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@326767 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/CFG.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Analysis/CFG.cpp b/lib/Analysis/CFG.cpp index f8517cb3b1..ae18278a0d 100644 --- a/lib/Analysis/CFG.cpp +++ b/lib/Analysis/CFG.cpp @@ -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) && -- 2.40.0