Skip to content

Commit 3121743

Browse files
committed
Sema: Fix unused variable warning in TypeCheckDeclPrimary.cpp.
NFC.
1 parent 51ff672 commit 3121743

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
@@ -1364,7 +1364,6 @@ Type DefaultArgumentTypeRequest::evaluate(Evaluator &evaluator,
13641364
DefaultArgumentInitializer *
13651365
DefaultArgumentInitContextRequest::evaluate(Evaluator &eval,
13661366
ParamDecl *param) const {
1367-
auto &ctx = param->getASTContext();
13681367
auto *parentDC = param->getDeclContext();
13691368
auto *paramList = getParameterList(cast<ValueDecl>(parentDC->getAsDecl()));
13701369

0 commit comments

Comments
 (0)