diff options
Diffstat (limited to 'src/pcm/PcmMix.cxx')
-rw-r--r-- | src/pcm/PcmMix.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pcm/PcmMix.cxx b/src/pcm/PcmMix.cxx index 8435c0c2a..b92258a83 100644 --- a/src/pcm/PcmMix.cxx +++ b/src/pcm/PcmMix.cxx @@ -110,9 +110,8 @@ pcm_add_vol(void *buffer1, const void *buffer2, size_t size, return true; } - /* unreachable */ assert(false); - return false; + gcc_unreachable(); } template<typename T, typename U, unsigned bits> @@ -184,9 +183,8 @@ pcm_add(void *buffer1, const void *buffer2, size_t size, return true; } - /* unreachable */ assert(false); - return false; + gcc_unreachable(); } bool |