Put this around HAVE_DISCORD ifdefs

This commit is contained in:
twinaphex 2018-08-08 07:35:11 +02:00
parent 27c2c6c6d7
commit fc176c1fa6

View File

@ -1776,7 +1776,9 @@ void command_playlist_update_write(
**/
bool command_event(enum event_command cmd, void *data)
{
#ifdef HAVE_DISCORD
static bool discord_inited = false;
#endif
bool boolean = false;
switch (cmd)