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