mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-05 15:42:24 +00:00
[lld][MachO] Clean up some unnecessarily verbose code. NFC.
Suggested by Dave Blaikie in review of r265447. Thanks Dave! llvm-svn: 265566
This commit is contained in:
parent
4c85bdb701
commit
33fd854584
@ -790,10 +790,7 @@ bool MachOYamlIOTaggedDocumentHandler::handledDocTag(llvm::yaml::IO &io,
|
||||
return false;
|
||||
}
|
||||
info->_normalizeMachOFile = nullptr;
|
||||
|
||||
// Transfer ownership to "out" File parameter.
|
||||
std::unique_ptr<lld::File> f = std::move(*fileOrError);
|
||||
file = f.release();
|
||||
file = fileOrError->release();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user