afs: Remove incorrect log message.
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 2 Apr 2016 15:22:00 +0000 (17:22 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Tue, 12 Apr 2016 16:27:44 +0000 (18:27 +0200)
This was introduced in f8ed713d (com_select() callback: Return negative
on errors.) last year. It is incorrect for two reasons. First, arg
may well be NULL, and second, we might be about to open a mood rather
than a playlist.

afs.c

diff --git a/afs.c b/afs.c
index ee1c6b5..0b24a3b 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -502,7 +502,6 @@ static int activate_mood_or_playlist(char *arg, int *num_admissible)
        enum play_mode mode;
        int ret;
 
-       PARA_INFO_LOG("new playlist: %s\n", arg);
        if (!arg) {
                ret = change_current_mood(NULL); /* always successful */
                mode = PLAY_MODE_MOOD;