mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
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:
@ -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;
|
||||||
|
Reference in New Issue
Block a user