mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
Merge pull request #12407 from lioncash/unused2
CPUThreadConfigCallback: Mark static ID as [[maybe_unused]]
This commit is contained in:
commit
7b57a4a37d
@ -44,7 +44,8 @@ namespace CPUThreadConfigCallback
|
||||
{
|
||||
ConfigChangedCallbackID AddConfigChangedCallback(Config::ConfigChangedCallback func)
|
||||
{
|
||||
static auto s_config_changed_callback_id = Config::AddConfigChangedCallback(&OnConfigChanged);
|
||||
[[maybe_unused]] static auto s_config_changed_callback_id =
|
||||
Config::AddConfigChangedCallback(&OnConfigChanged);
|
||||
|
||||
const ConfigChangedCallbackID callback_id{s_next_callback_id};
|
||||
++s_next_callback_id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user