From: Simon Pilgrim Date: Thu, 3 Oct 2019 11:22:00 +0000 (+0000) Subject: Fix uninitialized variable warning. NFCI X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=98389cce9dc0098dcef412fec023391868dd5566;p=llvm Fix uninitialized variable warning. NFCI git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373583 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp b/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp index 7af0de7f647..4fb409f020d 100644 --- a/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp +++ b/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp @@ -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(Expr);