BlockExtractor: Remove unused variable. NFC.

llvm-svn: 323271
This commit is contained in:
Volkan Keles 2018-01-23 22:24:34 +00:00
parent 7abe9887b0
commit ebf34ea316
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ ModulePass *llvm::createBlockExtractorPass(
/// Gets all of the blocks specified in the input file.
void BlockExtractor::loadFile() {
auto ErrOrBuf = MemoryBuffer::getFile(BlockExtractorFile);
if (std::error_code EC = ErrOrBuf.getError())
if (ErrOrBuf.getError())
report_fatal_error("BlockExtractor couldn't load the file.");
// Read the file.
auto &Buf = *ErrOrBuf;