]> granicus.if.org Git - clang/commitdiff
Remove unused variable.
authorTed Kremenek <kremenek@apple.com>
Wed, 18 Feb 2009 22:59:38 +0000 (22:59 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 18 Feb 2009 22:59:38 +0000 (22:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64974 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/CFRefCount.cpp

index d79186d8ccc41efae41031b1ffc50d90b6e41400..8a4b97be2772e87afd8be7284405ca5073808144 100644 (file)
@@ -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);