Put this around HAVE_DISCORD ifdefs
This commit is contained in:
parent
27c2c6c6d7
commit
fc176c1fa6
|
@ -1776,7 +1776,9 @@ void command_playlist_update_write(
|
||||||
**/
|
**/
|
||||||
bool command_event(enum event_command cmd, void *data)
|
bool command_event(enum event_command cmd, void *data)
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_DISCORD
|
||||||
static bool discord_inited = false;
|
static bool discord_inited = false;
|
||||||
|
#endif
|
||||||
bool boolean = false;
|
bool boolean = false;
|
||||||
|
|
||||||
switch (cmd)
|
switch (cmd)
|
||||||
|
|
Loading…
Reference in New Issue