diff options
author | bunnei <bunneidev@gmail.com> | 2018-10-15 21:33:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-15 21:33:14 -0400 |
commit | 870c18b0786296f30e79c21ad7213e90109eb299 (patch) | |
tree | 294c4efa1231c624ce8946f96131ca5623887d20 /src/yuzu | |
parent | 89fe950d3c53f453d2ba1c1cffbd7ddde15631fd (diff) | |
parent | 53a022148414d8bf0f24bea7be2860af730b7746 (diff) |
Merge pull request #1487 from lioncash/maybe-unused
yuzu/main: Apply the [[maybe_unused]] attribute to the parameter of SetDiscordEnabled
Diffstat (limited to 'src/yuzu')
-rw-r--r-- | src/yuzu/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index d1a068e68..bef9df00d 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -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>(); |