diff options
Diffstat (limited to 'lib/Support/MemoryArea.cpp')
-rw-r--r-- | lib/Support/MemoryArea.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Support/MemoryArea.cpp b/lib/Support/MemoryArea.cpp index 548ac72..d796283 100644 --- a/lib/Support/MemoryArea.cpp +++ b/lib/Support/MemoryArea.cpp @@ -25,6 +25,7 @@ MemoryArea::MemoryArea(llvm::StringRef pFilename) llvm::MemoryBuffer::getFile(pFilename, /*FileSize*/ -1, /*RequiresNullTerminator*/ false); if (std::error_code ec = buffer_or_error.getError()) { + (void) ec; fatal(diag::fatal_cannot_read_input) << pFilename.str(); } m_pMemoryBuffer = std::move(buffer_or_error.get()); |