aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-12 00:03:27 +0200
committerMax Kellermann <max@duempel.org>2008-10-12 00:03:27 +0200
commit35a16b99238a7daea97bedd244861f5b82e0b0cf (patch)
tree0f0abe4008ee8b9d122d11be895e60942df29b92 /src/utils.h
parent9d51bd392b5dcf3bd6511305293cf1cca53d16d3 (diff)
downloadmpd-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/utils.h')
0 files changed, 0 insertions, 0 deletions