forked from OSchip/llvm-project
Fix uninitialized variable warning. NFCI
llvm-svn: 373583
This commit is contained in:
parent
b327dc1966
commit
44bc1186e4
llvm/lib/Target/AArch64/AsmParser
|
@ -5276,7 +5276,7 @@ bool AArch64AsmParser::parseDirectiveInst(SMLoc Loc) {
|
|||
|
||||
auto parseOp = [&]() -> bool {
|
||||
SMLoc L = getLoc();
|
||||
const MCExpr *Expr;
|
||||
const MCExpr *Expr = nullptr;
|
||||
if (check(getParser().parseExpression(Expr), L, "expected expression"))
|
||||
return true;
|
||||
const MCConstantExpr *Value = dyn_cast_or_null<MCConstantExpr>(Expr);
|
||||
|
|
Loading…
Reference in New Issue