Skip to content

Commit f3cabc5

Browse files
authored
Merge pull request #66453 from apple/maxd/fix-typecheck-warning
[NFC] TypeCheckDeclPrimary.cpp: remove unused `isGenericType`
2 parents ca7b8e2 + 3ba40af commit f3cabc5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Sema/TypeCheckDeclPrimary.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,6 @@ static void checkGenericParams(GenericContext *ownerCtx) {
472472
return;
473473

474474
auto *decl = ownerCtx->getAsDecl();
475-
bool isGenericType = isa<NominalTypeDecl>(decl);
476475
bool hasPack = false;
477476

478477
for (auto gp : *genericParams) {

0 commit comments

Comments
 (0)