From 00a257af5b62df1921e3df3ee2fa4adc2ccbd297 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Mon, 29 Nov 2010 23:41:10 +0000 Subject: [PATCH] Add a few missing initializers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120350 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 2e7342d5880..f9a792e8dd5 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -634,8 +634,8 @@ ParseMemory(SmallVectorImpl &Operands) { int OffsetRegNum = 0; bool OffsetRegShifted = false; - enum ShiftType ShiftType; - const MCExpr *ShiftAmount; + enum ShiftType ShiftType = Lsl; + const MCExpr *ShiftAmount = 0; const MCExpr *Offset = 0; const AsmToken &NextTok = Parser.getTok();