yuzu: Resolve -Wextra-semi warnings

While we're in the same area, we can ensure GameDir member variables are
always initialized to consistent values.
This commit is contained in:
Lioncash 2020-08-15 11:14:09 -04:00
parent f3ea8a3653
commit f9fe50958e
3 changed files with 6 additions and 6 deletions

View file

@ -29,14 +29,14 @@ extern const Themes themes;
struct GameDir {
QString path;
bool deep_scan;
bool expanded;
bool deep_scan = false;
bool expanded = false;
bool operator==(const GameDir& rhs) const {
return path == rhs.path;
};
}
bool operator!=(const GameDir& rhs) const {
return !operator==(rhs);
};
}
};
struct Values {