summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-18 23:58:07 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 16:56:55 +0200
commitc97cbd089b371ed07234c66633f105862462826a (patch)
tree114f6887773212af416a585320b323c1f0cba7e4
parentcodespellrc: Ignore canonicalizations (diff)
downloadyuzu-c97cbd089b371ed07234c66633f105862462826a.tar
yuzu-c97cbd089b371ed07234c66633f105862462826a.tar.gz
yuzu-c97cbd089b371ed07234c66633f105862462826a.tar.bz2
yuzu-c97cbd089b371ed07234c66633f105862462826a.tar.lz
yuzu-c97cbd089b371ed07234c66633f105862462826a.tar.xz
yuzu-c97cbd089b371ed07234c66633f105862462826a.tar.zst
yuzu-c97cbd089b371ed07234c66633f105862462826a.zip
-rw-r--r--src/common/settings_setting.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/settings_setting.h b/src/common/settings_setting.h
index f803e4e6e..a0a05da54 100644
--- a/src/common/settings_setting.h
+++ b/src/common/settings_setting.h
@@ -170,7 +170,7 @@ public:
} else {
this->SetValue(static_cast<Type>(std::stoll(input)));
}
- } catch (std::invalid_argument& e) {
+ } catch (std::invalid_argument&) {
this->SetValue(this->GetDefault());
}
}