1
0
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:
Daniel Dunbar 2009-06-29 21:14:21 +00:00
parent a33d10fc4d
commit 8be858eeb4

View File

@ -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