aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-01-07 18:49:29 +0100
committerMax Kellermann <max@duempel.org>2015-01-07 18:49:29 +0100
commita62df3cb8f0770d3c64381d00e3ec41e1edcc116 (patch)
treea4a8347f4f44e2f9cb1def630474a074662ac3c1
parent18e32abda90a60a8df5f50008f405fa66f7daed0 (diff)
downloadmpd-a62df3cb8f0770d3c64381d00e3ec41e1edcc116.tar.gz
mpd-a62df3cb8f0770d3c64381d00e3ec41e1edcc116.tar.xz
mpd-a62df3cb8f0770d3c64381d00e3ec41e1edcc116.zip
output/oss: eliminate unnecessary tail code after "switch"
-rw-r--r--src/output/plugins/OssOutputPlugin.cxx3
1 files changed, 2 insertions, 1 deletions
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();
}
/**