Remove dead variable.
authorNick Lewycky <nicholas@mxc.ca>
Thu, 24 Feb 2011 23:15:43 +0000 (23:15 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 24 Feb 2011 23:15:43 +0000 (23:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126450 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp

index 9c2326cc1f18dd7f35e0303ed18a6bb73f466a25..e7418d294b16adcc10e4ede045dbacbaefc50f69 100644 (file)
@@ -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;
   }