[lld] r223920 - Remove unreachable return statement.
Rui Ueyama
ruiu at google.com
Wed Dec 10 00:12:06 PST 2014
Author: ruiu
Date: Wed Dec 10 02:12:06 2014
New Revision: 223920
URL: http://llvm.org/viewvc/llvm-project?rev=223920&view=rev
Log:
Remove unreachable return statement.
Modified:
lld/trunk/lib/ReaderWriter/Native/ReaderNative.cpp
Modified: lld/trunk/lib/ReaderWriter/Native/ReaderNative.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/Native/ReaderNative.cpp?rev=223920&r1=223919&r2=223920&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/Native/ReaderNative.cpp (original)
+++ lld/trunk/lib/ReaderWriter/Native/ReaderNative.cpp Wed Dec 10 02:12:06 2014
@@ -1010,7 +1010,6 @@ public:
parseFile(std::unique_ptr<MemoryBuffer> &mb, const class Registry &,
std::vector<std::unique_ptr<File>> &result) const override {
return lld::native::File::make(std::move(mb), result);
- return std::error_code();
}
};
}
More information about the llvm-commits
mailing list