Skip to content

Commit 153ef7d

Browse files
committed
[Sema] Remove unused variable.
1 parent 1658599 commit 153ef7d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Sema/MiscDiagnostics.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,6 @@ static void diagSyntacticUseRestrictions(TypeChecker &TC, const Expr *E,
519519

520520
// Add fix-it to insert '()', only if this is a metatype of
521521
// non-existential type and has any initializers.
522-
auto eTy = E->getType();
523522
bool isExistential = false;
524523
if (auto metaTy = E->getType()->getAs<MetatypeType>()) {
525524
auto instanceTy = metaTy->getInstanceType();

0 commit comments

Comments
 (0)