diff options
author | Lioncash <mathew1800@gmail.com> | 2020-08-15 11:14:09 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-08-16 03:58:29 -0400 |
commit | dbb1cbce67213dae3d7b354c8d7ac8e824888e63 (patch) | |
tree | 087aa5a70514e7ae07f87f65f9527c2050795348 /src/yuzu/uisettings.h | |
parent | db96034ea429cf0b0b5e2bac790392d9e2f50990 (diff) |
yuzu: Resolve -Wextra-semi warnings
While we're in the same area, we can ensure GameDir member variables are
always initialized to consistent values.
Diffstat (limited to 'src/yuzu/uisettings.h')
-rw-r--r-- | src/yuzu/uisettings.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/yuzu/uisettings.h b/src/yuzu/uisettings.h index bbfeafc55..2d2e82f15 100644 --- a/src/yuzu/uisettings.h +++ b/src/yuzu/uisettings.h @@ -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 { |