Remove dead vars
authorChris Lattner <sabre@nondot.org>
Fri, 5 Nov 2004 04:46:22 +0000 (04:46 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 5 Nov 2004 04:46:22 +0000 (04:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17482 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp

index ef7b9b381864230c7eb756720a7a34716251fac0..bb7c5a6e8290f859a5cad2bf886f17453368dd8d 100644 (file)
@@ -85,7 +85,6 @@ bool ProfilePaths::runOnFunction(Function &F){
   std::vector<Node *> nodes;
   std::vector<Edge> edges;
 
-  Node *tmp;
   Node *exitNode = 0, *startNode = 0;
 
   // The nodes must be uniquely identified:
index fd0844e14b9e976d7faa5e4cca4f31645dc0eccb..4954723685f41b560649aa011b1730812b18a7dd 100644 (file)
@@ -134,7 +134,6 @@ void getBBtrace(vector<BasicBlock *> &vBB, int pathNo, Function *M){//,
   
   std::vector<Node *> nodes;
   std::vector<Edge> edges;
-  Node *tmp;
   Node *exitNode=0, *startNode=0;
 
   //Creat cfg just once for each function!