Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/coding
diff options
context:
space:
mode:
authorMaksim Andrianov <maksimandrianov1@gmail.com>2018-06-25 17:57:42 +0300
committerMaksim Andrianov <maksimandrianov1@gmail.com>2018-06-25 17:57:42 +0300
commit1c9ae86fe0d701af12fcb8c9548bd870ba61f4fa (patch)
tree049d067833e9f4d40ca8793e7b020601b69fdfea /coding
parent036be1ebad980f832fd01ba42b5a7c2ca16d8f1e (diff)
After merge
Diffstat (limited to 'coding')
-rw-r--r--coding/compressed_bit_vector.cpp2
-rw-r--r--coding/zlib.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/coding/compressed_bit_vector.cpp b/coding/compressed_bit_vector.cpp
index 88a863c27f..01ed947c15 100644
--- a/coding/compressed_bit_vector.cpp
+++ b/coding/compressed_bit_vector.cpp
@@ -461,6 +461,8 @@ string DebugPrint(CompressedBitVector::StorageStrategy strat)
case CompressedBitVector::StorageStrategy::Dense: return "Dense";
case CompressedBitVector::StorageStrategy::Sparse: return "Sparse";
}
+
+ INCORRECT_VALUE_IN_THE_SWITCH();
}
// static
diff --git a/coding/zlib.cpp b/coding/zlib.cpp
index 00412b3f7a..80b3c7ece5 100644
--- a/coding/zlib.cpp
+++ b/coding/zlib.cpp
@@ -19,6 +19,8 @@ int ToInt(ZLib::Deflate::Level level)
case Level::BestCompression: return Z_BEST_COMPRESSION;
case Level::DefaultCompression: return Z_DEFAULT_COMPRESSION;
}
+
+ INCORRECT_VALUE_IN_THE_SWITCH();
}
} // namespace