gcc.h: add macro gcc_unreachable()

This commit is contained in:
Max Kellermann
2013-08-03 21:34:17 +02:00
parent 105b431e4c
commit 67f591a9ce
12 changed files with 18 additions and 14 deletions

View File

@@ -257,7 +257,7 @@ get_bitformat(enum sample_format sample_format)
}
assert(false);
return SND_PCM_FORMAT_UNKNOWN;
gcc_unreachable();
}
static snd_pcm_format_t