mirror of
https://github.com/citra-emu/citra-nightly.git
synced 2024-12-26 19:35:41 +00:00
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
|
@ -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