Remove unreachable statement.

llvm-svn: 182714
This commit is contained in:
Rui Ueyama 2013-05-26 01:25:39 +00:00
parent 4093afda9b
commit 37645e5953
1 changed files with 0 additions and 3 deletions

View File

@ -1499,9 +1499,7 @@ error_code MachOWriter::writeFile(const lld::File &file, StringRef path) {
<< "\n");
chunk->write(buffer->getBufferStart()+chunk->fileOffset());
}
return buffer->commit();
return error_code::success();
}
void MachOWriter::addFiles(InputFiles &inputFiles) {
@ -1517,4 +1515,3 @@ std::unique_ptr<Writer> createWriterMachO(const MachOTargetInfo &ti) {
}
} // namespace lld