aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-04-22 01:21:06 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-04-22 01:21:06 +0000
commit32bd250d304cea9040f45ce1e8d289c69341e656 (patch)
tree4dbf4dbfaea5839587d4d9ce7081762740e1aedd
parentd3dbd5f5cdb54b5e9472ec6040612fc4d898d297 (diff)
Remove an unused variable from a function. This is a likely cut-paste-o.
Silences GCC warning. I wonder why Clang doesn't warn on this... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129968 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/MC/MCDwarf.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/MC/MCDwarf.cpp b/lib/MC/MCDwarf.cpp
index 50f10b8f51..b3dcb0be44 100644
--- a/lib/MC/MCDwarf.cpp
+++ b/lib/MC/MCDwarf.cpp
@@ -465,7 +465,6 @@ static unsigned getSizeForEncoding(MCStreamer &streamer,
static void EmitSymbol(MCStreamer &streamer, const MCSymbol &symbol,
unsigned symbolEncoding) {
MCContext &context = streamer.getContext();
- const TargetAsmInfo &asmInfo = context.getTargetAsmInfo();
unsigned size = getSizeForEncoding(streamer, symbolEncoding);
unsigned application = symbolEncoding & 0x70;
switch (application) {