forked from OSchip/llvm-project
[sancov] Fix an unused variable warning introduced in r245067
llvm-svn: 245072
This commit is contained in:
parent
ae78d53aeb
commit
7ae63aa85d
|
@ -437,7 +437,7 @@ void SanitizerCoverageModule::InjectCoverageAtBlock(Function &F, BasicBlock &BB,
|
|||
// 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;
|
||||
|
|
Loading…
Reference in New Issue