mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
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...
This commit is contained in:
parent
f2f346e110
commit
9dc69fa07c
1 changed files with 0 additions and 1 deletions
|
@ -345,7 +345,6 @@ void Config::ReadValues() {
|
||||||
// System
|
// System
|
||||||
Settings::values.use_docked_mode.SetValue(
|
Settings::values.use_docked_mode.SetValue(
|
||||||
sdl2_config->GetBoolean("System", "use_docked_mode", false));
|
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>(
|
Settings::values.current_user = std::clamp<int>(
|
||||||
sdl2_config->GetInteger("System", "current_user", 0), 0, Service::Account::MAX_USERS - 1);
|
sdl2_config->GetInteger("System", "current_user", 0), 0, Service::Account::MAX_USERS - 1);
|
||||||
|
|
Loading…
Reference in a new issue