[Lldb-commits] [lldb] r256929 - Fix build warnings after rL256915
Bhushan D. Attarde via lldb-commits
lldb-commits at lists.llvm.org
Wed Jan 6 04:08:24 PST 2016
Author: bhushan.attarde
Date: Wed Jan 6 06:08:22 2016
New Revision: 256929
URL: http://llvm.org/viewvc/llvm-project?rev=256929&view=rev
Log:
Fix build warnings after rL256915
Modified:
lldb/trunk/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
Modified: lldb/trunk/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp?rev=256929&r1=256928&r2=256929&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp (original)
+++ lldb/trunk/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp Wed Jan 6 06:08:22 2016
@@ -1404,7 +1404,7 @@ EmulateInstructionMIPS::Emulate_BXX_3ops
{
bool success = false;
uint32_t rs, rt;
- int32_t offset, pc, target, rs_val, rt_val;
+ int32_t offset, pc, target = 0, rs_val, rt_val;
const char *op_name = m_insn_info->getName (insn.getOpcode ());
rs = m_reg_info->getEncodingValue (insn.getOperand(0).getReg());
@@ -1459,7 +1459,7 @@ EmulateInstructionMIPS::Emulate_BXX_3ops
{
bool success = false;
uint32_t rs, rt;
- int32_t offset, pc, target, rs_val, rt_val;
+ int32_t offset, pc, target = 0, rs_val, rt_val;
const char *op_name = m_insn_info->getName (insn.getOpcode ());
uint32_t current_inst_size = m_insn_info->get(insn.getOpcode()).getSize();
@@ -1555,7 +1555,7 @@ EmulateInstructionMIPS::Emulate_Bcond_Li
{
bool success = false;
uint32_t rs;
- int32_t offset, pc, target;
+ int32_t offset, pc, target = 0;
int32_t rs_val;
const char *op_name = m_insn_info->getName (insn.getOpcode ());
@@ -1634,7 +1634,7 @@ EmulateInstructionMIPS::Emulate_Bcond_Li
{
bool success = false;
uint32_t rs;
- int32_t offset, pc, target;
+ int32_t offset, pc, target = 0;
int32_t rs_val;
const char *op_name = m_insn_info->getName (insn.getOpcode ());
@@ -1687,7 +1687,7 @@ EmulateInstructionMIPS::Emulate_BXX_2ops
{
bool success = false;
uint32_t rs;
- int32_t offset, pc, target;
+ int32_t offset, pc, target = 0;
int32_t rs_val;
const char *op_name = m_insn_info->getName (insn.getOpcode ());
@@ -1754,7 +1754,7 @@ EmulateInstructionMIPS::Emulate_BXX_2ops
{
bool success = false;
uint32_t rs;
- int32_t offset, pc, target;
+ int32_t offset, pc, target = 0;
int32_t rs_val;
const char *op_name = m_insn_info->getName (insn.getOpcode ());
uint32_t current_inst_size = m_insn_info->get(insn.getOpcode()).getSize();
@@ -2363,7 +2363,7 @@ EmulateInstructionMIPS::Emulate_FP_branc
{
bool success = false;
uint32_t cc, fcsr;
- int32_t target, pc, offset;
+ int32_t pc, offset, target = 0;
const char *op_name = m_insn_info->getName (insn.getOpcode ());
cc = m_reg_info->getEncodingValue (insn.getOperand(0).getReg());
@@ -2492,7 +2492,7 @@ EmulateInstructionMIPS::Emulate_3D_branc
{
bool success = false;
uint32_t cc, fcsr;
- int32_t target, pc, offset;
+ int32_t pc, offset, target = 0;
const char *op_name = m_insn_info->getName (insn.getOpcode ());
cc = m_reg_info->getEncodingValue (insn.getOperand(0).getReg());
More information about the lldb-commits
mailing list