mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-19 20:21:06 +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();
|
multiplayer_state->retranslateUi();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GMainWindow::SetDiscordEnabled(bool state) {
|
void GMainWindow::SetDiscordEnabled([[maybe_unused]] bool state) {
|
||||||
#ifdef USE_DISCORD_PRESENCE
|
#ifdef USE_DISCORD_PRESENCE
|
||||||
if (state) {
|
if (state) {
|
||||||
discord_rpc = std::make_unique<DiscordRPC::DiscordImpl>();
|
discord_rpc = std::make_unique<DiscordRPC::DiscordImpl>();
|
||||||
|
Loading…
Reference in New Issue
Block a user