diff options
author | Max Kellermann <max@duempel.org> | 2014-11-26 08:25:48 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-11-26 08:25:48 +0100 |
commit | 921d01b59d669ab727e2e6b14580ef064b344b0e (patch) | |
tree | 4eff822feb905a411978e2531b303d5d2f935262 /src/queue/Playlist.cxx | |
parent | 8aa4a66ba03e8d2726fb7fddac53a892c41f1711 (diff) | |
download | mpd-921d01b59d669ab727e2e6b14580ef064b344b0e.tar.gz mpd-921d01b59d669ab727e2e6b14580ef064b344b0e.tar.xz mpd-921d01b59d669ab727e2e6b14580ef064b344b0e.zip |
Playlist: add another assertion
Diffstat (limited to 'src/queue/Playlist.cxx')
-rw-r--r-- | src/queue/Playlist.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |