From a47e1b730430496da05093428f172ee808d8ecf7 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 llvm-svn: 326767 --- clang/lib/Analysis/CFG.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/lib/Analysis/CFG.cpp b/clang/lib/Analysis/CFG.cpp index f8517cb3b136..ae18278a0d9e 100644 --- a/clang/lib/Analysis/CFG.cpp +++ b/clang/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.34.1