diff --git a/src/queue/Playlist.cxx b/src/queue/Playlist.cxx index 40495b330..47b023637 100644 --- a/src/queue/Playlist.cxx +++ b/src/queue/Playlist.cxx @@ -68,6 +68,7 @@ playlist::QueuedSongStarted(PlayerControl &pc) { assert(pc.next_song == nullptr); assert(queued >= -1); + assert(current >= 0); /* queued song has started: copy queued to current, and notify the clients */