mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Silence unused variable warnings.
Swift SVN r23346
This commit is contained in:
@@ -90,6 +90,7 @@ void CallGraph::addEdgesForApply(ApplyInst *AI, CallGraphNode *CallerNode) {
|
||||
auto ThinCallee = cast<ThinToThickFunctionInst>(Callee)->getOperand();
|
||||
// TODO: We want to see through these to the underlying function.
|
||||
assert(cast<FunctionRefInst>(ThinCallee) && "Expected function reference!");
|
||||
(void)ThinCallee;
|
||||
++NumCallSitesWithoutEdges;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user