Commit 859e5926 authored by Max Kellermann's avatar Max Kellermann

player/Thread: remove unnecessary "continue" keywords

parent ec113420
...@@ -1082,7 +1082,6 @@ Player::Run() noexcept ...@@ -1082,7 +1082,6 @@ Player::Run() noexcept
if (paused) { if (paused) {
if (pc.command == PlayerCommand::NONE) if (pc.command == PlayerCommand::NONE)
pc.Wait(); pc.Wait();
continue;
} else if (!pipe->IsEmpty()) { } else if (!pipe->IsEmpty()) {
/* at least one music chunk is ready - send it /* at least one music chunk is ready - send it
to the audio output */ to the audio output */
...@@ -1099,7 +1098,6 @@ Player::Run() noexcept ...@@ -1099,7 +1098,6 @@ Player::Run() noexcept
wait for it */ wait for it */
dc.Signal(); dc.Signal();
dc.WaitForDecoder(); dc.WaitForDecoder();
continue;
} else if (IsDecoderAtNextSong()) { } else if (IsDecoderAtNextSong()) {
/* at the beginning of a new song */ /* at the beginning of a new song */
......
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