mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-30 17:21:10 +00:00
lld/MachO: Remove a useless temporary
This commit is contained in:
parent
c9f251aa6f
commit
7be1661fc6
@ -178,8 +178,7 @@ static void addFile(StringRef path) {
|
||||
if (!result)
|
||||
return;
|
||||
|
||||
std::unique_ptr<llvm::MachO::InterfaceFile> interface{std::move(*result)};
|
||||
inputFiles.push_back(make<DylibFile>(std::move(interface)));
|
||||
inputFiles.push_back(make<DylibFile>(std::move(*result)));
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user