1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

[llvm-objdump] Remove continue after report_error which is unreachable

llvm-svn: 338951
This commit is contained in:
Fangrui Song 2018-08-04 05:19:00 +00:00
parent 209700787b
commit 4c80642b2c

View File

@ -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;