From 67f591a9ce60651da41afc499bd9a22e25314e35 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 3 Aug 2013 21:34:17 +0200 Subject: gcc.h: add macro gcc_unreachable() --- src/audio_format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/audio_format.c') diff --git a/src/audio_format.c b/src/audio_format.c index 45d94a853..cfe3a4cae 100644 --- a/src/audio_format.c +++ b/src/audio_format.c @@ -69,7 +69,7 @@ sample_format_to_string(enum sample_format format) /* unreachable */ assert(false); - return "?"; + gcc_unreachable(); } const char * -- cgit v1.2.3