diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-02-24 23:15:43 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-02-24 23:15:43 +0000 |
commit | 4e671437ed9ff171e83fb34a971388c29cbe2704 (patch) | |
tree | 7b6c71c93554c1d96a7ff2b20daea1adada6a620 /lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp | |
parent | 9b61c550c2f1fa889163a338f5d6c02b50fe961c (diff) |
Remove dead variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126450 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp b/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp index 9c2326cc1f..e7418d294b 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp @@ -177,7 +177,7 @@ void AsmPrinter::EmitReference(const GlobalValue *GV, unsigned Encoding)const{ void AsmPrinter::EmitSectionOffset(const MCSymbol *Label, const MCSymbol *SectionLabel) const { // On COFF targets, we have to emit the special .secrel32 directive. - if (const char *SecOffDir = MAI->getDwarfSectionOffsetDirective()) { + if (MAI->getDwarfSectionOffsetDirective()) { OutStreamer.EmitCOFFSecRel32(Label); return; } |