aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_control.c
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/player_control.c
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/player_control.c')
0 files changed, 0 insertions, 0 deletions