Skip to content

Commit 2175e29

Browse files
committed
Frontend: Fix warnings about unused variables.
1 parent 1675098 commit 2175e29

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/Frontend/ModuleInterfaceLoader.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2250,9 +2250,6 @@ InterfaceSubContextDelegateImpl::runInSubCompilerInstance(StringRef moduleName,
22502250

22512251
info.BuildArguments = BuildArgs;
22522252
info.Hash = CacheHash;
2253-
auto target = *(std::find(BuildArgs.rbegin(), BuildArgs.rend(), "-target") - 1);
2254-
auto langVersion = *(std::find(BuildArgs.rbegin(), BuildArgs.rend(),
2255-
"-swift-version") - 1);
22562253

22572254
// Run the action under the sub compiler instance.
22582255
return action(info);

0 commit comments

Comments
 (0)