diff options
-rw-r--r-- | lib/Support/Compression.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Support/Compression.cpp b/lib/Support/Compression.cpp index 497b17ec92..f22d3db9ac 100644 --- a/lib/Support/Compression.cpp +++ b/lib/Support/Compression.cpp @@ -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) { |