mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user