From dbb1cbce67213dae3d7b354c8d7ac8e824888e63 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 15 Aug 2020 11:14:09 -0400 Subject: yuzu: Resolve -Wextra-semi warnings While we're in the same area, we can ensure GameDir member variables are always initialized to consistent values. --- src/yuzu/uisettings.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/yuzu/uisettings.h') 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 { -- cgit v1.2.3