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

@@ -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();
}
}