mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Fix uninitialized variable warning.
llvm-svn: 74457
This commit is contained in:
parent
a33d10fc4d
commit
8be858eeb4
@ -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…
Reference in New Issue
Block a user