Skip to content

Commit

Permalink
Fix s_using_custom_client warning with DiscordPresence
Browse files Browse the repository at this point in the history
/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;
            ^
  • Loading branch information
brad0 committed May 23, 2023
1 parent 68c3b1f commit cf06da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/UICommon/DiscordPresence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@

namespace Discord
{
#ifdef USE_DISCORD_PRESENCE
static bool s_using_custom_client = false;

#ifdef USE_DISCORD_PRESENCE
namespace
{
Handler* event_handler = nullptr;
Expand Down

0 comments on commit cf06da8

Please sign in to comment.