mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
[llvm-objdump] Remove continue after report_error which is unreachable
llvm-svn: 338951
This commit is contained in:
parent
209700787b
commit
4c80642b2c
@ -2104,7 +2104,6 @@ void llvm::ParseInputMachO(MachOUniversalBinary *UB) {
|
||||
} else if (auto E = isNotObjectErrorInvalidFileType(
|
||||
ObjOrErr.takeError())) {
|
||||
report_error(Filename, std::move(E));
|
||||
continue;
|
||||
} else if (Expected<std::unique_ptr<Archive>> AOrErr =
|
||||
I->getAsArchive()) {
|
||||
std::unique_ptr<Archive> &A = *AOrErr;
|
||||
@ -2153,7 +2152,6 @@ void llvm::ParseInputMachO(MachOUniversalBinary *UB) {
|
||||
} else if (auto E = isNotObjectErrorInvalidFileType(
|
||||
ObjOrErr.takeError())) {
|
||||
report_error(StringRef(), Filename, std::move(E), ArchitectureName);
|
||||
continue;
|
||||
} else if (Expected<std::unique_ptr<Archive>> AOrErr =
|
||||
I->getAsArchive()) {
|
||||
std::unique_ptr<Archive> &A = *AOrErr;
|
||||
|
Loading…
Reference in New Issue
Block a user