Skip to content

Commit 84a322f

Browse files
authored
Merge pull request #5928 from jjgod/ClosureSpecializerWarningFix
2 parents 0c0f85d + 72ec028 commit 84a322f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/SILOptimizer/IPO/ClosureSpecializer.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,8 +566,6 @@ ClosureSpecCloner::initCloned(const CallSiteDescriptor &CallSiteDesc,
566566
/// necessary. This is where we create the actual specialized BB Arguments.
567567
void ClosureSpecCloner::populateCloned() {
568568
SILFunction *Cloned = getCloned();
569-
SILModule &M = Cloned->getModule();
570-
571569
SILFunction *ClosureUser = CallSiteDesc.getApplyCallee();
572570

573571
// Create arguments for the entry block.

0 commit comments

Comments
 (0)