Qt: Fix Wunused-const-variable and Wunused-function warnings.

This commit is contained in:
lightningterror 2023-01-11 18:08:25 +01:00
parent 0bca1aab74
commit 1a5d7c1c5d
1 changed files with 1 additions and 1 deletions

View File

@ -1068,7 +1068,7 @@ namespace SettingWidgetBinder
}
}
static void BindSliderToIntSetting(SettingsInterface* sif, QSlider* slider, QLabel* label, const QString& label_suffix,
[[maybe_unused]] static void BindSliderToIntSetting(SettingsInterface* sif, QSlider* slider, QLabel* label, const QString& label_suffix,
std::string section, std::string key, s32 default_value)
{
const s32 global_value = Host::GetBaseIntSettingValue(section.c_str(), key.c_str(), default_value);