BreakPoints: Add initializers for TBreakPoint and TWatch

Ensures all members are consistently initialized.
This commit is contained in:
Lioncash 2017-01-11 07:55:11 -05:00
parent 588374349f
commit 50ee01754e
1 changed files with 6 additions and 6 deletions

View File

@ -13,9 +13,9 @@ class DebugInterface;
struct TBreakPoint struct TBreakPoint
{ {
u32 iAddress; u32 iAddress = 0;
bool bOn; bool bOn = false;
bool bTemporary; bool bTemporary = false;
}; };
struct TMemCheck struct TMemCheck
@ -39,9 +39,9 @@ struct TMemCheck
struct TWatch struct TWatch
{ {
std::string name = ""; std::string name;
u32 iAddress; u32 iAddress = 0;
bool bOn; bool bOn = false;
}; };
// Code breakpoints. // Code breakpoints.