mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 11:22:51 +00:00
configure_system: Default initialize member variables
These should be initialized to deterministic values so it's easier to catch improper behavior, as it'll always be reproducable, instead of performing uninitialized reads.
This commit is contained in:
parent
8806e69f59
commit
bf7da804c5
|
@ -57,11 +57,12 @@ private:
|
||||||
std::vector<QList<QStandardItem*>> list_items;
|
std::vector<QList<QStandardItem*>> list_items;
|
||||||
|
|
||||||
std::unique_ptr<Ui::ConfigureSystem> ui;
|
std::unique_ptr<Ui::ConfigureSystem> ui;
|
||||||
bool enabled;
|
bool enabled = false;
|
||||||
|
|
||||||
int birthmonth, birthday;
|
int birthmonth = 0;
|
||||||
int language_index;
|
int birthday = 0;
|
||||||
int sound_index;
|
int language_index = 0;
|
||||||
|
int sound_index = 0;
|
||||||
|
|
||||||
std::unique_ptr<Service::Account::ProfileManager> profile_manager;
|
std::unique_ptr<Service::Account::ProfileManager> profile_manager;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue