summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-10-03 11:21:46 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-10-03 11:21:46 +0000
commitb327dc196673c718e9f22b70f0901b3d9ebc5384 (patch)
tree741ededa40341d16dcafdb0489a02a5913ee56d0 /llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
parent43817e1915bbe5fcead2f33d8effaaf7f10571a5 (diff)
downloadbcm5719-llvm-b327dc196673c718e9f22b70f0901b3d9ebc5384.tar.gz
bcm5719-llvm-b327dc196673c718e9f22b70f0901b3d9ebc5384.zip
Fix uninitialized variable warning. NFCI
llvm-svn: 373582
Diffstat (limited to 'llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp')
-rw-r--r--llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index dd2d4ec118a..4d2c9dad709 100644
--- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -11339,7 +11339,7 @@ bool ARMAsmParser::parseDirectiveUnwindRaw(SMLoc L) {
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),
OpenPOWER on IntegriCloud