core: Silence Wclass-memaccess warnings

This requires making several types trivial and properly initialize
them whenever they are called.
This commit is contained in:
ReinUsesLisp 2021-01-15 05:33:33 -03:00
parent 92ca4929f5
commit 4854f3291e
17 changed files with 215 additions and 205 deletions

View file

@ -93,7 +93,7 @@ QtProfileSelectionDialog::QtProfileSelectionDialog(QWidget* parent)
const auto& profiles = profile_manager->GetAllUsers();
for (const auto& user : profiles) {
Service::Account::ProfileBase profile;
Service::Account::ProfileBase profile{};
if (!profile_manager->GetProfileBase(user, profile))
continue;