diff options
author | comex <comexk@gmail.com> | 2020-11-15 13:38:39 -0500 |
---|---|---|
committer | comex <comexk@gmail.com> | 2020-12-05 17:50:39 -0500 |
commit | 9dc69fa07c549b35229711d8390785ed7fbbf81d (patch) | |
tree | c6d8545ce659864698397251db7348c0d160d676 /src/yuzu_cmd/config.cpp | |
parent | f2f346e1104106eb9323f0e141e0e67312c29849 (diff) |
yuzu_cmd: Remove 'users_size'
Specifically:
const auto size = sdl2_config->GetInteger("System", "users_size", 0);
The variable is never used, producing a warning. I wondered if this
ought to be assigning something to in `Settings`, but nothing else in
the codebase ever mentions a setting called "users_size", so I guess
it's safe to remove...
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
-rw-r--r-- | src/yuzu_cmd/config.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index 34c9673bc..b70f71a08 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp @@ -345,7 +345,6 @@ void Config::ReadValues() { // System Settings::values.use_docked_mode.SetValue( sdl2_config->GetBoolean("System", "use_docked_mode", false)); - const auto size = sdl2_config->GetInteger("System", "users_size", 0); Settings::values.current_user = std::clamp<int>( sdl2_config->GetInteger("System", "current_user", 0), 0, Service::Account::MAX_USERS - 1); |