summaryrefslogtreecommitdiff
path: root/lib/Analysis/DebugInfo.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/Analysis/DebugInfo.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/Analysis/DebugInfo.cpp')
-rw-r--r--lib/Analysis/DebugInfo.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp
index 7ff1de6351..433e700972 100644
--- a/lib/Analysis/DebugInfo.cpp
+++ b/lib/Analysis/DebugInfo.cpp
@@ -1070,7 +1070,6 @@ namespace llvm {
Value *findDbgGlobalDeclare(GlobalVariable *V) {
const Module *M = V->getParent();
- LLVMContext& Context = M->getContext();
const Type *Ty = M->getTypeByName("llvm.dbg.global_variable.type");
if (!Ty) return 0;