[llvm] r221497 - Remove unused variable. NFC.
Rafael Espindola
rafael.espindola at gmail.com
Thu Nov 6 15:16:57 PST 2014
Author: rafael
Date: Thu Nov 6 17:16:57 2014
New Revision: 221497
URL: http://llvm.org/viewvc/llvm-project?rev=221497&view=rev
Log:
Remove unused variable. NFC.
Modified:
llvm/trunk/lib/IRReader/IRReader.cpp
Modified: llvm/trunk/lib/IRReader/IRReader.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IRReader/IRReader.cpp?rev=221497&r1=221496&r2=221497&view=diff
==============================================================================
--- llvm/trunk/lib/IRReader/IRReader.cpp (original)
+++ llvm/trunk/lib/IRReader/IRReader.cpp Thu Nov 6 17:16:57 2014
@@ -34,7 +34,6 @@ getLazyIRModule(std::unique_ptr<MemoryBu
LLVMContext &Context) {
if (isBitcode((const unsigned char *)Buffer->getBufferStart(),
(const unsigned char *)Buffer->getBufferEnd())) {
- std::string ErrMsg;
ErrorOr<Module *> ModuleOrErr =
getLazyBitcodeModule(std::move(Buffer), Context);
if (std::error_code EC = ModuleOrErr.getError()) {
More information about the llvm-commits
mailing list