mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
Add llvm_unreachable after fully covered switch to pacify GCC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180087 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a0bd5df086
commit
ab4d569f28
@ -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
Block a user