Silence unused warnings

This commit is contained in:
David Ungar
2019-09-13 17:13:14 -07:00
parent 6aa1952a83
commit 2ede6f2b82
4 changed files with 5 additions and 0 deletions

View File

@@ -223,6 +223,7 @@ class ModuleDepGraph {
ModuleDepGraphNode *nodeActuallyErased = nodeMap.findAndErase(
nodeToErase->getSwiftDeps().getValueOr(std::string()),
nodeToErase->getKey());
(void)nodeActuallyErased;
assert(
nodeToErase == nodeActuallyErased ||
mapCorruption("Node found from key must be same as node holding key."));