summaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/ExtractGV.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-07-29 22:41:10 +0000
committerDouglas Gregor <dgregor@apple.com>2009-07-29 22:41:10 +0000
commitf485b3bbab86274161e2b56e829b404cce227675 (patch)
treeadc60f113dceb811a09bd9ca82e7a9be62a057b8 /lib/Transforms/IPO/ExtractGV.cpp
parentaa993142518648c1ffa61e7f52ff6d3a95d413fb (diff)
downloadllvm-f485b3bbab86274161e2b56e829b404cce227675.tar.gz
llvm-f485b3bbab86274161e2b56e829b404cce227675.tar.bz2
llvm-f485b3bbab86274161e2b56e829b404cce227675.tar.xz
Eliminate a few unused-variable warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77519 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/ExtractGV.cpp')
-rw-r--r--lib/Transforms/IPO/ExtractGV.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Transforms/IPO/ExtractGV.cpp b/lib/Transforms/IPO/ExtractGV.cpp
index dfbad61cf5..f80a087c7c 100644
--- a/lib/Transforms/IPO/ExtractGV.cpp
+++ b/lib/Transforms/IPO/ExtractGV.cpp
@@ -86,8 +86,6 @@ namespace {
}
bool isolateGV(Module &M) {
- LLVMContext &Context = M.getContext();
-
// Mark all globals internal
// FIXME: what should we do with private linkage?
for (Module::global_iterator I = M.global_begin(), E = M.global_end(); I != E; ++I)