Skip to content

Commit 1342138

Browse files
committed
Remove unused variables
These currently warn for being unused
1 parent 403b2bf commit 1342138

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
@@ -5101,7 +5101,6 @@ void IRGenModule::emitOpaqueTypeDecl(OpaqueTypeDecl *D) {
51015101
bool irgen::methodRequiresReifiedVTableEntry(IRGenModule &IGM,
51025102
const SILVTable *vtable,
51035103
SILDeclRef method) {
5104-
auto &M = IGM.getSILModule();
51055104
auto entry = vtable->getEntry(IGM.getSILModule(), method);
51065105
if (!entry) {
51075106
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)