summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-02-18 22:59:38 +0000
committerTed Kremenek <kremenek@apple.com>2009-02-18 22:59:38 +0000
commit6692f45829ba5e80a41fe83c17c621c19e20de66 (patch)
tree25ba8d9ca69d04b60000f17c078bad68c96fb37a /clang/lib
parent75a96ed40a10c3175ac50d35dec5ecddcefadea2 (diff)
downloadbcm5719-llvm-6692f45829ba5e80a41fe83c17c621c19e20de66.tar.gz
bcm5719-llvm-6692f45829ba5e80a41fe83c17c621c19e20de66.zip
Remove unused variable.
llvm-svn: 64974
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Analysis/CFRefCount.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp
index d79186d8ccc..8a4b97be277 100644
--- a/clang/lib/Analysis/CFRefCount.cpp
+++ b/clang/lib/Analysis/CFRefCount.cpp
@@ -2595,7 +2595,6 @@ CFRefLeakReport::getEndPath(BugReporter& br, const ExplodedNode<GRState>* EndN){
Stmt* S = getStmt(BR); // This is the statement where the leak occured.
assert (S);
- unsigned EndLine = SMgr.getInstantiationLineNumber(S->getLocStart());
// Generate the diagnostic.
FullSourceLoc L(S->getLocStart(), SMgr);
OpenPOWER on IntegriCloud