aboutsummaryrefslogtreecommitdiffstats
path: root/src/ReplayGainConfig.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/ReplayGainConfig.cxx
parent105b431e4cd5416b44ed3fb68e5944ad59bd8221 (diff)
downloadmpd-67f591a9ce60651da41afc499bd9a22e25314e35.tar.gz
mpd-67f591a9ce60651da41afc499bd9a22e25314e35.tar.xz
mpd-67f591a9ce60651da41afc499bd9a22e25314e35.zip
gcc.h: add macro gcc_unreachable()
Diffstat (limited to '')
-rw-r--r--src/ReplayGainConfig.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ReplayGainConfig.cxx b/src/ReplayGainConfig.cxx
index d86c70053..ea5054bae 100644
--- a/src/ReplayGainConfig.cxx
+++ b/src/ReplayGainConfig.cxx
@@ -55,9 +55,8 @@ replay_gain_get_mode_string(void)
return "album";
}
- /* unreachable */
assert(false);
- return "off";
+ gcc_unreachable();
}
bool