Skip to content

Commit 56548e0

Browse files
authored
Fix unused variable warning. (#28160)
Introduced in #28080: `swift-DEVELOPMENT-SNAPSHOT-2019-10-31-a -> tensorflow` merge.
1 parent 89078cc commit 56548e0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Sema/DerivedConformanceVectorProtocol.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ static Type getVectorProtocolVectorSpaceScalarAssocType(
7272
// the given context, or `nullptr` if `VectorSpaceScalar` cannot be derived.
7373
static Type deriveVectorProtocol_VectorSpaceScalar(NominalTypeDecl *nominal,
7474
DeclContext *DC) {
75-
auto &C = DC->getASTContext();
7675
// Nominal type must be a struct. (Zero stored properties is okay.)
7776
if (!isa<StructDecl>(nominal))
7877
return nullptr;

0 commit comments

Comments
 (0)