Skip to content

Commit 454ccab

Browse files
authored
Merge pull request #32398 from keith/ks/unused-vars
Remove unused variables
2 parents 16862e5 + 1342138 commit 454ccab

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

lib/IRGen/GenMeta.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5104,7 +5104,6 @@ void IRGenModule::emitOpaqueTypeDecl(OpaqueTypeDecl *D) {
51045104
bool irgen::methodRequiresReifiedVTableEntry(IRGenModule &IGM,
51055105
const SILVTable *vtable,
51065106
SILDeclRef method) {
5107-
auto &M = IGM.getSILModule();
51085107
auto entry = vtable->getEntry(IGM.getSILModule(), method);
51095108
if (!entry) {
51105109
return true;

lib/IRGen/MetadataRequest.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2226,8 +2226,6 @@ irgen::emitCanonicalSpecializedGenericTypeMetadataAccessFunction(
22262226
}
22272227
Type superclassType = theType->getSuperclass(/*useArchetypes=*/false);
22282228
if (superclassType) {
2229-
auto superclass = superclassType->getCanonicalType();
2230-
auto *superclassNominal = superclass->getAnyNominal();
22312229
emitIdempotentCanonicalSpecializedClassMetadataInitializationComponent(
22322230
IGF, superclassType->getCanonicalType(), initializedTypes);
22332231
}

0 commit comments

Comments
 (0)