From d2189bf12af59fa59aef375ce05d4ba9122ca287 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 3 May 2011 16:00:27 +0000 Subject: Remove unused variables caught by GCC's -Wunused-but-set-variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130755 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Instrumentation/PathProfiling.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/Transforms/Instrumentation/PathProfiling.cpp') diff --git a/lib/Transforms/Instrumentation/PathProfiling.cpp b/lib/Transforms/Instrumentation/PathProfiling.cpp index 6b3f12dcbc..182a43d396 100644 --- a/lib/Transforms/Instrumentation/PathProfiling.cpp +++ b/lib/Transforms/Instrumentation/PathProfiling.cpp @@ -1351,8 +1351,6 @@ bool PathProfiler::runOnModule(Module &M) { return false; } - BasicBlock::iterator insertPoint = Main->getEntryBlock().getFirstNonPHI(); - llvmIncrementHashFunction = M.getOrInsertFunction( "llvm_increment_path_count", Type::getVoidTy(*Context), // return type -- cgit v1.2.3