summaryrefslogtreecommitdiffstats
path: root/src/yuzu
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-16 03:33:14 +0200
committerGitHub <noreply@github.com>2018-10-16 03:33:14 +0200
commit870c18b0786296f30e79c21ad7213e90109eb299 (patch)
tree294c4efa1231c624ce8946f96131ca5623887d20 /src/yuzu
parentMerge pull request #1504 from lioncash/constant (diff)
parentyuzu/main: Apply the [[maybe_unused]] attribute to the parameter of SetDiscordEnabled() (diff)
downloadyuzu-870c18b0786296f30e79c21ad7213e90109eb299.tar
yuzu-870c18b0786296f30e79c21ad7213e90109eb299.tar.gz
yuzu-870c18b0786296f30e79c21ad7213e90109eb299.tar.bz2
yuzu-870c18b0786296f30e79c21ad7213e90109eb299.tar.lz
yuzu-870c18b0786296f30e79c21ad7213e90109eb299.tar.xz
yuzu-870c18b0786296f30e79c21ad7213e90109eb299.tar.zst
yuzu-870c18b0786296f30e79c21ad7213e90109eb299.zip
Diffstat (limited to 'src/yuzu')
-rw-r--r--src/yuzu/main.cpp2
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>();