Skip to content

Commit

Permalink
Fix an unused variable warning; NFC
Browse files Browse the repository at this point in the history
llvm-svn: 326767
  • Loading branch information
gburgessiv committed Mar 6, 2018
1 parent 9753b79 commit a47e1b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/lib/Analysis/CFG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) &&
Expand Down

0 comments on commit a47e1b7

Please sign in to comment.