Playlist: add another assertion

This commit is contained in:
Max Kellermann 2014-11-26 08:25:48 +01:00
parent 8aa4a66ba0
commit 921d01b59d

View File

@ -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 */