VERY experimental Nintendo Switch 2 emulator
C++
yuzu/main: Apply the [[maybe_unused]] attribute to the parameter of SetDiscordEnabled()
Lioncashab69b81d98ef
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cppindex fc186dc2d9..788dd9b34f 100644--- a/src/yuzu/main.cpp+++ b/src/yuzu/main.cpp@@ -1565,7 +1565,7 @@ void GMainWindow::UpdateUITheme() {emit UpdateThemedIcons();}-void GMainWindow::SetDiscordEnabled(bool state) {+void GMainWindow::SetDiscordEnabled([[maybe_unused]] bool state) {#ifdef USE_DISCORD_PRESENCEif (state) {discord_rpc = std::make_unique<DiscordRPC::DiscordImpl>();