summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCDwarf.cpp
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
commitea41470726917d9733b19fcf431eb934004dafd0 (patch)
tree6ca7475ed19e2253db5ae9d4bcca46e284bbe78d /llvm/lib/MC/MCDwarf.cpp
parent98feafed27815e5f04e29f516e577ceb41d43a7f (diff)
downloadbcm5719-llvm-ea41470726917d9733b19fcf431eb934004dafd0.tar.gz
bcm5719-llvm-ea41470726917d9733b19fcf431eb934004dafd0.zip
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... llvm-svn: 129968
Diffstat (limited to 'llvm/lib/MC/MCDwarf.cpp')
-rw-r--r--llvm/lib/MC/MCDwarf.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp
index 50f10b8f513..b3dcb0be44c 100644
--- a/llvm/lib/MC/MCDwarf.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud