Skip to content

Commit f19d6b9

Browse files
committed
SILOptimizer: Fix a warning
1 parent 5df43ee commit f19d6b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SILOptimizer/IPO/DeadFunctionElimination.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ class ExternalFunctionDefinitionsElimination : FunctionLivenessComputation {
475475

476476
// Check witness methods.
477477
for (SILWitnessTable &WT : Module->getWitnessTableList()) {
478-
bool tableIsAlive = isVisibleExternally(WT.getConformance()->getProtocol());
478+
isVisibleExternally(WT.getConformance()->getProtocol());
479479
for (const SILWitnessTable::Entry &entry : WT.getEntries()) {
480480
if (entry.getKind() != SILWitnessTable::Method)
481481
continue;

0 commit comments

Comments
 (0)