Commit b968e1b6 authored by Max Kellermann's avatar Max Kellermann

output/Thread: add missing `return` in exception handler

parent 6c9f9c13
...@@ -159,6 +159,7 @@ AudioOutputControl::InternalOpen(const AudioFormat in_audio_format, ...@@ -159,6 +159,7 @@ AudioOutputControl::InternalOpen(const AudioFormat in_audio_format,
} catch (...) { } catch (...) {
LogError(std::current_exception()); LogError(std::current_exception());
Failure(std::current_exception()); Failure(std::current_exception());
return;
} }
if (f != in_audio_format || f != output->out_audio_format) if (f != in_audio_format || f != output->out_audio_format)
......
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