We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33164cc commit 97336c5Copy full SHA for 97336c5
lib/SIL/SILInstructions.cpp
@@ -1309,7 +1309,6 @@ SELECT_ENUM_INST *SelectEnumInstBase::createSelectEnum(
1309
// Allocate enough room for the instruction with tail-allocated
1310
// EnumElementDecl and operand arrays. There are `CaseBBs.size()` decls
1311
// and `CaseBBs.size() + (DefaultBB ? 1 : 0)` values.
1312
- unsigned numCases = DeclsAndValues.size();
1313
SmallVector<SILValue, 4> CaseValues;
1314
SmallVector<EnumElementDecl*, 4> CaseDecls;
1315
for (auto &pair : DeclsAndValues) {
0 commit comments