mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-28 06:52:47 +00:00
Merge pull request #1487 from lioncash/maybe-unused
yuzu/main: Apply the [[maybe_unused]] attribute to the parameter of SetDiscordEnabled
This commit is contained in:
commit
870c18b078
|
@ -1567,7 +1567,7 @@ void GMainWindow::UpdateUITheme() {
|
||||||
emit UpdateThemedIcons();
|
emit UpdateThemedIcons();
|
||||||
}
|
}
|
||||||
|
|
||||||
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 a new issue