forked from OSchip/llvm-project
Add llvm_unreachable after fully covered switch to pacify GCC
llvm-svn: 180087
This commit is contained in:
parent
e005d78241
commit
63761d4bc4
|
@ -31,6 +31,7 @@ static int encodeZlibCompressionLevel(zlib::CompressionLevel Level) {
|
|||
case zlib::DefaultCompression: return Z_DEFAULT_COMPRESSION;
|
||||
case zlib::BestSizeCompression: return 9;
|
||||
}
|
||||
llvm_unreachable("Invalid zlib::CompressionLevel!");
|
||||
}
|
||||
|
||||
static zlib::Status encodeZlibReturnValue(int ReturnValue) {
|
||||
|
|
Loading…
Reference in New Issue