summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-02-24 23:15:43 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-02-24 23:15:43 +0000
commit1db7b187cb389923aa3a1bf9836be897f6469e9f (patch)
tree80f1c4e74ef990d04d2ec8c2f48683d23b31523f /llvm/lib
parente1e020dc29be5ee25b01b7318e2a283e550b023e (diff)
downloadbcm5719-llvm-1db7b187cb389923aa3a1bf9836be897f6469e9f.tar.gz
bcm5719-llvm-1db7b187cb389923aa3a1bf9836be897f6469e9f.zip
Remove dead variable.
llvm-svn: 126450
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
index 9c2326cc1f1..e7418d294b1 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud