mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Gardening] Fix some set but not used variables
This commit is contained in:
@@ -169,7 +169,7 @@ Type swift::getConcreteReplacementForProtocolActorSystemType(
|
||||
}
|
||||
|
||||
/// === Maybe the value is declared in a protocol?
|
||||
if (auto protocol = DC->getSelfProtocolDecl()) {
|
||||
if (DC->getSelfProtocolDecl()) {
|
||||
GenericSignature signature;
|
||||
if (auto *genericContext = anyValue->getAsGenericContext()) {
|
||||
signature = genericContext->getGenericSignature();
|
||||
|
||||
Reference in New Issue
Block a user