mirror of
https://github.com/SuperBFG7/ympd
synced 2025-11-05 00:03:00 +00:00
Fix: compiler warnings
This commit is contained in:
@@ -1033,11 +1033,11 @@ static void mpd_client_mpd_features(t_config *config, t_mpd_state *mpd_state) {
|
|||||||
else {
|
else {
|
||||||
mpd_state->feat_tags = true;
|
mpd_state->feat_tags = true;
|
||||||
LOG_INFO() printf("\nmyMPD enabled tags: ");
|
LOG_INFO() printf("\nmyMPD enabled tags: ");
|
||||||
enum mpd_tag_type types[64];
|
|
||||||
#if LIBMPDCLIENT_CHECK_VERSION(2,12,0)
|
#if LIBMPDCLIENT_CHECK_VERSION(2,12,0)
|
||||||
|
enum mpd_tag_type types[64];
|
||||||
unsigned n = 0;
|
unsigned n = 0;
|
||||||
token = strtok_r(taglist, s, &rest);
|
|
||||||
#endif
|
#endif
|
||||||
|
token = strtok_r(taglist, s, &rest);
|
||||||
while (token != NULL) {
|
while (token != NULL) {
|
||||||
if (list_get_value(&mpd_state->mpd_tags, token) == 1) {
|
if (list_get_value(&mpd_state->mpd_tags, token) == 1) {
|
||||||
list_push(&mpd_state->mympd_tags, token, 1);
|
list_push(&mpd_state->mympd_tags, token, 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user