Commit 921d01b5 authored by Max Kellermann's avatar Max Kellermann

Playlist: add another assertion

parent 8aa4a66b
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment