Skip to content

Commit 97336c5

Browse files
author
Davide Italiano
committed
[SIL] Remove dead store and placate -Wunused. NFCI.
1 parent 33164cc commit 97336c5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/SIL/SILInstructions.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,6 @@ SELECT_ENUM_INST *SelectEnumInstBase::createSelectEnum(
13091309
// Allocate enough room for the instruction with tail-allocated
13101310
// EnumElementDecl and operand arrays. There are `CaseBBs.size()` decls
13111311
// and `CaseBBs.size() + (DefaultBB ? 1 : 0)` values.
1312-
unsigned numCases = DeclsAndValues.size();
13131312
SmallVector<SILValue, 4> CaseValues;
13141313
SmallVector<EnumElementDecl*, 4> CaseDecls;
13151314
for (auto &pair : DeclsAndValues) {

0 commit comments

Comments
 (0)