mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-11 13:20:04 +00:00
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:
parent
f72be7af2d
commit
8d6927dc4c
3 changed files with 7 additions and 6 deletions
|
@ -30,14 +30,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);
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
enum class GameListIconSize {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue