Skip to content

Commit 9d5b6d8

Browse files
committed
Sema: Remove unused local variable
1 parent 0493710 commit 9d5b6d8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Sema/TypeCheckDeclPrimary.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,6 @@ static void checkGenericParams(GenericContext *ownerCtx) {
478478
for (auto gp : *genericParams) {
479479
// Diagnose generic types with a parameter packs if VariadicGenerics
480480
// is not enabled.
481-
auto &ctx = decl->getASTContext();
482481
if (gp->isParameterPack() && isGenericType) {
483482
TypeChecker::checkAvailability(
484483
gp->getSourceRange(),

0 commit comments

Comments
 (0)