[llvm-commits] [llvm] r126450 - /llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp

Nick Lewycky nicholas at mxc.ca
Thu Feb 24 15:15:43 PST 2011


Author: nicholas
Date: Thu Feb 24 17:15:43 2011
New Revision: 126450

URL: http://llvm.org/viewvc/llvm-project?rev=126450&view=rev
Log:
Remove dead variable.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp?rev=126450&r1=126449&r2=126450&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp Thu Feb 24 17:15:43 2011
@@ -177,7 +177,7 @@
 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;
   }





More information about the llvm-commits mailing list