Fix an unused variable warning; NFC

llvm-svn: 326767
This commit is contained in:
George Burgess IV 2018-03-06 07:45:11 +00:00
parent 9753b7903d
commit a47e1b7304
1 changed files with 1 additions and 0 deletions

View 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) &&