summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-08-21 10:20:17 +0200
committerMax Kellermann <max@musicpd.org>2019-08-21 10:20:17 +0200
commitb968e1b6dedf6723caa55cfacf5c862667f8b1d9 (patch)
treee47199870e4c062d662ca6682ab363ee1427b153
parent6c9f9c136b72b4453c39eca4edb70b48f53b8d2c (diff)
output/Thread: add missing `return` in exception handler
-rw-r--r--src/output/Thread.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/output/Thread.cxx b/src/output/Thread.cxx
index d9e30dce5..295035665 100644
--- a/src/output/Thread.cxx
+++ b/src/output/Thread.cxx
@@ -159,6 +159,7 @@ AudioOutputControl::InternalOpen(const AudioFormat in_audio_format,
} catch (...) {
LogError(std::current_exception());
Failure(std::current_exception());
+ return;
}
if (f != in_audio_format || f != output->out_audio_format)