From 183f2eb860a6c97523d0f7f13ebdb5126167ceb6 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 5 Nov 2004 04:46:22 +0000 Subject: [PATCH] Remove dead vars git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17482 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp | 1 - lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp b/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp index ef7b9b38186..bb7c5a6e829 100644 --- a/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp +++ b/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp @@ -85,7 +85,6 @@ bool ProfilePaths::runOnFunction(Function &F){ std::vector nodes; std::vector edges; - Node *tmp; Node *exitNode = 0, *startNode = 0; // The nodes must be uniquely identified: diff --git a/lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp b/lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp index fd0844e14b9..4954723685f 100644 --- a/lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp +++ b/lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp @@ -134,7 +134,6 @@ void getBBtrace(vector &vBB, int pathNo, Function *M){//, std::vector nodes; std::vector edges; - Node *tmp; Node *exitNode=0, *startNode=0; //Creat cfg just once for each function!