diff options
| author | OatmealDome <OatmealDome@users.noreply.github.com> | 2026-01-26 17:31:34 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-26 17:31:34 -0500 |
| commit | 01cbed6fc4bfbc71b147f6eb8b2396e9adbca6ec (patch) | |
| tree | b5d47b5e9dd40f2a18f6897b9f4dfaa69fb14f28 /Source/Core | |
| parent | c4c2aa8afd6f7e9a254bc56c53132dd5eb2ccc12 (diff) | |
| parent | 8f662f7be37b55fb5a0bf4a9b1f5bc5760223be8 (diff) | |
Merge pull request #14306 from Dentomologist/inputconfig_remove_unused_local_variables
InputConfig: Remove unused local variables
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/InputCommon/InputConfig.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/Core/InputCommon/InputConfig.cpp b/Source/Core/InputCommon/InputConfig.cpp index 641c8d1f3b..5e8e4ac880 100644 --- a/Source/Core/InputCommon/InputConfig.cpp +++ b/Source/Core/InputCommon/InputConfig.cpp @@ -70,7 +70,6 @@ bool InputConfig::LoadConfig() { int n = 0; - std::vector<std::string> controller_names; for (auto& controller : m_controllers) { Common::IniFile::Section config; @@ -92,7 +91,6 @@ bool InputConfig::LoadConfig() } controller->LoadConfig(&config); controller->UpdateReferences(g_controller_interface); - controller_names.push_back(controller->GetName()); // Next profile n++; @@ -125,11 +123,9 @@ void InputConfig::SaveConfig() Common::IniFile inifile; inifile.Load(ini_filename); - std::vector<std::string> controller_names; for (auto& controller : m_controllers) { controller->SaveConfig(inifile.GetOrCreateSection(controller->GetName())); - controller_names.push_back(controller->GetName()); } inifile.Save(ini_filename); |
