summaryrefslogtreecommitdiffstats
path: root/lld/lib/Core/InputGraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/Core/InputGraph.cpp')
-rw-r--r--lld/lib/Core/InputGraph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/Core/InputGraph.cpp b/lld/lib/Core/InputGraph.cpp
index abd3385ad6b..eee6faf691e 100644
--- a/lld/lib/Core/InputGraph.cpp
+++ b/lld/lib/Core/InputGraph.cpp
@@ -90,7 +90,7 @@ error_code FileNode::getBuffer(StringRef filePath) {
if (error_code ec = MemoryBuffer::getFileOrSTDIN(filePath, mb))
return ec;
_buffer = std::move(mb);
- return error_code::success();
+ return error_code();
}
/// \brief Return the next file that need to be processed by the resolver.
OpenPOWER on IntegriCloud