From: Nick Lewycky Date: Thu, 24 Feb 2011 23:15:43 +0000 (+0000) Subject: Remove dead variable. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4e671437ed9ff171e83fb34a971388c29cbe2704;p=oota-llvm.git Remove dead variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126450 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp b/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp index 9c2326cc1f1..e7418d294b1 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; }