Playlist: add another assertion
This commit is contained in:
parent
8aa4a66ba0
commit
921d01b59d
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user