From 855d9939a103ff0efd70a29a4b58fb59d2747a5f Mon Sep 17 00:00:00 2001 From: jcorporation Date: Sun, 20 Jan 2019 23:27:34 +0000 Subject: [PATCH] Fix: compiler warnings --- src/mpd_client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mpd_client.c b/src/mpd_client.c index 26961f4..c66bb48 100644 --- a/src/mpd_client.c +++ b/src/mpd_client.c @@ -1033,11 +1033,11 @@ static void mpd_client_mpd_features(t_config *config, t_mpd_state *mpd_state) { else { mpd_state->feat_tags = true; LOG_INFO() printf("\nmyMPD enabled tags: "); - enum mpd_tag_type types[64]; #if LIBMPDCLIENT_CHECK_VERSION(2,12,0) + enum mpd_tag_type types[64]; unsigned n = 0; + #endif token = strtok_r(taglist, s, &rest); - #endif while (token != NULL) { if (list_get_value(&mpd_state->mpd_tags, token) == 1) { list_push(&mpd_state->mympd_tags, token, 1);