projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbbd99f
)
AlignLoc is never used for anything - zap it (gcc-4.6 warning).
author
Duncan Sands
<baldrick@free.fr>
Thu, 21 Oct 2010 16:07:10 +0000
(16:07 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Thu, 21 Oct 2010 16:07:10 +0000
(16:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117025
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/AsmParser/LLParser.cpp
patch
|
blob
|
history
diff --git
a/lib/AsmParser/LLParser.cpp
b/lib/AsmParser/LLParser.cpp
index 403fdd4527d53ce0d7af2ffc979a21abb90260b9..4d3bd879320202539c3598842628eb1f983d3699 100644
(file)
--- 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;
}