Merge pull request #4343 from FearlessTobi/port-1487
Port yuzu-emu/yuzu#1487: "Apply the [[maybe_unused]] attribute to the parameter of SetDiscordEnabled()"
This commit is contained in:
commit
2a7b87874b
1 changed files with 1 additions and 1 deletions
|
@ -1714,7 +1714,7 @@ void GMainWindow::RetranslateStatusBar() {
|
|||
multiplayer_state->retranslateUi();
|
||||
}
|
||||
|
||||
void GMainWindow::SetDiscordEnabled(bool state) {
|
||||
void GMainWindow::SetDiscordEnabled([[maybe_unused]] bool state) {
|
||||
#ifdef USE_DISCORD_PRESENCE
|
||||
if (state) {
|
||||
discord_rpc = std::make_unique<DiscordRPC::DiscordImpl>();
|
||||
|
|
Loading…
Reference in a new issue