From: Justin Bogner <mail@justinbogner.com>
Date: Fri, 14 Aug 2015 17:03:45 +0000 (+0000)
Subject: [sancov] Fix an unused variable warning introduced in r245067
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=afc99259234235e94735dfc4f7072fcd1504f7f9;p=oota-llvm.git

[sancov] Fix an unused variable warning introduced in r245067

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245072 91177308-0d34-0410-b5e6-96231b3b80d8
---

diff --git a/lib/Transforms/Instrumentation/SanitizerCoverage.cpp b/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
index 8a6ab4bff35..3bcb8de1c4f 100644
--- a/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
+++ b/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
@@ -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;