[llvm] r245072 - [sancov] Fix an unused variable warning introduced in r245067
Justin Bogner via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 14 10:03:45 PDT 2015
Author: bogner
Date: Fri Aug 14 12:03:45 2015
New Revision: 245072
URL: http://llvm.org/viewvc/llvm-project?rev=245072&view=rev
Log:
[sancov] Fix an unused variable warning introduced in r245067
Modified:
llvm/trunk/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
Modified: llvm/trunk/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/SanitizerCoverage.cpp?rev=245072&r1=245071&r2=245072&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/SanitizerCoverage.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/SanitizerCoverage.cpp Fri Aug 14 12:03:45 2015
@@ -437,7 +437,7 @@ void SanitizerCoverageModule::InjectCove
// locations.
if (isa<UnreachableInst>(BB.getTerminator()))
return;
- BasicBlock::iterator IP = BB.getFirstInsertionPt(), BE = BB.end();
+ BasicBlock::iterator IP = BB.getFirstInsertionPt();
bool IsEntryBB = &BB == &F.getEntryBlock();
DebugLoc EntryLoc;
More information about the llvm-commits
mailing list