From fc176c1fa6a02be88e0ab131e75074ba52581256 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 8 Aug 2018 07:35:11 +0200 Subject: [PATCH] Put this around HAVE_DISCORD ifdefs --- command.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/command.c b/command.c index 647d8cf2ec..12671ca67d 100644 --- a/command.c +++ b/command.c @@ -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)