Skip to content

Commit dcbe30a

Browse files
committed
SILGen: Remove unused variable
After Joe's SubstitutionMap changes today, 'gen.SGM.M.getSwiftModule()' will hopefully become a thing of the past.
1 parent d296ea2 commit dcbe30a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/SILGen/SILGenBridging.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,6 @@ static SILFunctionType *emitObjCThunkArguments(SILGenFunction &gen,
891891
Optional<ForeignErrorConvention> &foreignError) {
892892
SILDeclRef native = thunk.asForeign(false);
893893

894-
auto mod = gen.SGM.M.getSwiftModule();
895894
auto subs = gen.F.getForwardingSubstitutions();
896895

897896
auto objcInfo = gen.SGM.Types.getConstantInfo(thunk);

0 commit comments

Comments
 (0)