diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-04-22 01:21:06 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-04-22 01:21:06 +0000 |
commit | ea41470726917d9733b19fcf431eb934004dafd0 (patch) | |
tree | 6ca7475ed19e2253db5ae9d4bcca46e284bbe78d /llvm/lib/MC/MCDwarf.cpp | |
parent | 98feafed27815e5f04e29f516e577ceb41d43a7f (diff) | |
download | bcm5719-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.cpp | 1 |
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) { |