mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Fix -Wmaybe-uninitialized warnings
This commit is contained in:
@ -16,7 +16,7 @@ namespace Gecko
|
|||||||
class GeckoCode
|
class GeckoCode
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
GeckoCode() : enabled(false) {}
|
GeckoCode() = default;
|
||||||
struct Code
|
struct Code
|
||||||
{
|
{
|
||||||
u32 address = 0;
|
u32 address = 0;
|
||||||
@ -28,8 +28,8 @@ public:
|
|||||||
std::string name, creator;
|
std::string name, creator;
|
||||||
std::vector<std::string> notes;
|
std::vector<std::string> notes;
|
||||||
|
|
||||||
bool enabled;
|
bool enabled = false;
|
||||||
bool user_defined;
|
bool user_defined = false;
|
||||||
|
|
||||||
bool Exist(u32 address, u32 data) const;
|
bool Exist(u32 address, u32 data) const;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user