From 50ee01754e3461f025bbbf1ead3ff2decd29dc07 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 11 Jan 2017 07:55:11 -0500 Subject: [PATCH] BreakPoints: Add initializers for TBreakPoint and TWatch Ensures all members are consistently initialized. --- Source/Core/Core/PowerPC/BreakPoints.h | 12 ++++++------ 1 file 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.