Skip to content

Commit fcd9ada

Browse files
committed
Cleanup unused variable
1 parent 1ffc687 commit fcd9ada

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/SILOptimizer/Utils/PerformanceInlinerUtils.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,6 @@ SILFunction *swift::getEligibleFunction(FullApplySite AI,
661661
return nullptr;
662662

663663
SILFunction *Callee = AI.getReferencedFunction();
664-
SILFunction *EligibleCallee = nullptr;
665664

666665
if (!Callee) {
667666
return nullptr;
@@ -776,8 +775,7 @@ SILFunction *swift::getEligibleFunction(FullApplySite AI,
776775
return nullptr;
777776
}
778777

779-
EligibleCallee = Callee;
780-
return EligibleCallee;
778+
return Callee;
781779
}
782780

783781
/// Returns true if the instruction \I has any interesting side effects which

0 commit comments

Comments
 (0)