diff options
author | Max Kellermann <max@duempel.org> | 2008-10-12 00:03:27 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-12 00:03:27 +0200 |
commit | 35a16b99238a7daea97bedd244861f5b82e0b0cf (patch) | |
tree | 0f0abe4008ee8b9d122d11be895e60942df29b92 /src/locate.c | |
parent | 9d51bd392b5dcf3bd6511305293cf1cca53d16d3 (diff) | |
download | mpd-35a16b99238a7daea97bedd244861f5b82e0b0cf.tar.gz mpd-35a16b99238a7daea97bedd244861f5b82e0b0cf.tar.xz mpd-35a16b99238a7daea97bedd244861f5b82e0b0cf.zip |
playlist: call clearPlayerQueue() only if song is queued
Simplify and merge several if clauses before the clearPlayerQueue()
invocation. Call clearPlayerQueue() only if a song is actually
queued; add an assertion for that in clearPlayerQueue().
Diffstat (limited to 'src/locate.c')
0 files changed, 0 insertions, 0 deletions