mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-25 00:35:30 +00:00
Fix uninitialized variable warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74457 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
74deeb84bd
commit
513306395c
@ -218,7 +218,7 @@ static unsigned getBinOpPrecedence(asmtok::TokKind K,
|
||||
/// Res contains the LHS of the expression on input.
|
||||
bool AsmParser::ParseBinOpRHS(unsigned Precedence, AsmExpr *&Res) {
|
||||
while (1) {
|
||||
AsmBinaryExpr::Opcode Kind;
|
||||
AsmBinaryExpr::Opcode Kind = AsmBinaryExpr::Add;
|
||||
unsigned TokPrec = getBinOpPrecedence(Lexer.getKind(), Kind);
|
||||
|
||||
// If the next token is lower precedence than we are allowed to eat, return
|
||||
|
Loading…
x
Reference in New Issue
Block a user