yuzu-emu
/
yuzu
Archived
1
0
Fork 0

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:
bunnei 2018-10-15 21:33:14 -04:00 committed by GitHub
commit 870c18b078
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1567,7 +1567,7 @@ void GMainWindow::UpdateUITheme() {
emit UpdateThemedIcons();
}
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>();