diff options
| author | Lioncash <mathew1800@gmail.com> | 2017-01-11 07:55:11 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2017-01-11 07:55:43 -0500 |
| commit | 50ee01754e3461f025bbbf1ead3ff2decd29dc07 (patch) | |
| tree | 2261108560aff3a6f60afc5c3d81de49696686dd /Source/Core | |
| parent | 588374349f5f852a02f77dba227075e4cdb3238c (diff) | |
BreakPoints: Add initializers for TBreakPoint and TWatch
Ensures all members are consistently initialized.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/PowerPC/BreakPoints.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/Core/PowerPC/BreakPoints.h b/Source/Core/Core/PowerPC/BreakPoints.h index 00111fd832..7f34e126b7 100644 --- a/Source/Core/Core/PowerPC/BreakPoints.h +++ b/Source/Core/Core/PowerPC/BreakPoints.h @@ -13,9 +13,9 @@ class DebugInterface; struct TBreakPoint { - u32 iAddress; - bool bOn; - bool bTemporary; + u32 iAddress = 0; + bool bOn = false; + bool bTemporary = false; }; struct TMemCheck @@ -39,9 +39,9 @@ struct TMemCheck struct TWatch { - std::string name = ""; - u32 iAddress; - bool bOn; + std::string name; + u32 iAddress = 0; + bool bOn = false; }; // Code breakpoints. |
