From a62df3cb8f0770d3c64381d00e3ec41e1edcc116 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 7 Jan 2015 18:49:29 +0100 Subject: output/oss: eliminate unnecessary tail code after "switch" --- src/output/plugins/OssOutputPlugin.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/output/plugins/OssOutputPlugin.cxx b/src/output/plugins/OssOutputPlugin.cxx index 36a960b5d..3e65f56b7 100644 --- a/src/output/plugins/OssOutputPlugin.cxx +++ b/src/output/plugins/OssOutputPlugin.cxx @@ -451,7 +451,8 @@ sample_format_to_oss(SampleFormat format) #endif } - return AFMT_QUERY; + assert(false); + gcc_unreachable(); } /** -- cgit v1.2.3