[llvm] r373582 - Fix uninitialized variable warning. NFCI
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 3 04:21:46 PDT 2019
Author: rksimon
Date: Thu Oct 3 04:21:46 2019
New Revision: 373582
URL: http://llvm.org/viewvc/llvm-project?rev=373582&view=rev
Log:
Fix uninitialized variable warning. NFCI
Modified:
llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Modified: llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp?rev=373582&r1=373581&r2=373582&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp (original)
+++ llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp Thu Oct 3 04:21:46 2019
@@ -11339,7 +11339,7 @@ bool ARMAsmParser::parseDirectiveUnwindR
SmallVector<uint8_t, 16> Opcodes;
auto parseOne = [&]() -> bool {
- const MCExpr *OE;
+ const MCExpr *OE = nullptr;
SMLoc OpcodeLoc = getLexer().getLoc();
if (check(getLexer().is(AsmToken::EndOfStatement) ||
Parser.parseExpression(OE),
More information about the llvm-commits
mailing list