Skip to content

Commit e8f1d9f

Browse files
committed
AST: Fix a warning in ASTPrinter.cpp.
1 parent 004d0b1 commit e8f1d9f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/AST/ASTPrinter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7130,7 +7130,6 @@ swift::getInheritedForPrinting(
71307130
}
71317131

71327132
// Collect synthesized conformances.
7133-
auto &ctx = decl->getASTContext();
71347133
llvm::SetVector<ProtocolDecl *> protocols;
71357134
llvm::TinyPtrVector<ProtocolDecl *> uncheckedProtocols;
71367135
for (auto attr : decl->getAttrs().getAttributes<SynthesizedProtocolAttr>()) {

0 commit comments

Comments
 (0)