aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/FlacPcm.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-03 21:34:17 +0200
committerMax Kellermann <max@duempel.org>2013-08-03 21:34:17 +0200
commit67f591a9ce60651da41afc499bd9a22e25314e35 (patch)
tree0eeeba50880b52317f326c73587a7cb4a5c93b32 /src/decoder/FlacPcm.cxx
parent105b431e4cd5416b44ed3fb68e5944ad59bd8221 (diff)
downloadmpd-67f591a9ce60651da41afc499bd9a22e25314e35.tar.gz
mpd-67f591a9ce60651da41afc499bd9a22e25314e35.tar.xz
mpd-67f591a9ce60651da41afc499bd9a22e25314e35.zip
gcc.h: add macro gcc_unreachable()
Diffstat (limited to 'src/decoder/FlacPcm.cxx')
-rw-r--r--src/decoder/FlacPcm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/FlacPcm.cxx b/src/decoder/FlacPcm.cxx
index 82896bd24..17a13edda 100644
--- a/src/decoder/FlacPcm.cxx
+++ b/src/decoder/FlacPcm.cxx
@@ -104,7 +104,7 @@ flac_convert(void *dest,
case SAMPLE_FORMAT_FLOAT:
case SAMPLE_FORMAT_DSD:
case SAMPLE_FORMAT_UNDEFINED:
- /* unreachable */
assert(false);
+ gcc_unreachable();
}
}