Fix s_using_custom_client warning with DiscordPresence

/home/ports/pobj/dolphin-5.0.0.20230429/dolphin-5.0.0.20230429/Source/Core/UICommon/DiscordPresence.cpp:27:13: warning: unused variable 's_using_custom_client' [-Wunused-variable]
static bool s_using_custom_client = false;
            ^
This commit is contained in:
Brad Smith 2023-05-23 00:07:06 -04:00
parent 68c3b1fb7d
commit cf06da8fea

View File

@ -25,9 +25,9 @@
namespace Discord namespace Discord
{ {
#ifdef USE_DISCORD_PRESENCE
static bool s_using_custom_client = false; static bool s_using_custom_client = false;
#ifdef USE_DISCORD_PRESENCE
namespace namespace
{ {
Handler* event_handler = nullptr; Handler* event_handler = nullptr;