aboutsummaryrefslogtreecommitdiff
path: root/lib/AsmParser/LLParser.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-10-21 16:07:10 +0000
committerDuncan Sands <baldrick@free.fr>2010-10-21 16:07:10 +0000
commitbf9fc53f46d5badab10ec79e1e442830206f6598 (patch)
treedae3e480e15b3d0c0bec43a9403cf1350730d006 /lib/AsmParser/LLParser.cpp
parentdbbd99faf1d661f03a9dfc1551d7537c34d64bee (diff)
AlignLoc is never used for anything - zap it (gcc-4.6 warning).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117025 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.cpp')
-rw-r--r--lib/AsmParser/LLParser.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp
index 403fdd4527..4d3bd87932 100644
--- a/lib/AsmParser/LLParser.cpp
+++ b/lib/AsmParser/LLParser.cpp
@@ -1199,8 +1199,7 @@ bool LLParser::ParseOptionalCommaAlign(unsigned &Alignment,
if (Lex.getKind() != lltok::kw_align)
return Error(Lex.getLoc(), "expected metadata or 'align'");
-
- LocTy AlignLoc = Lex.getLoc();
+
if (ParseOptionalAlignment(Alignment)) return true;
}