diff options
author | Alex Zolotarev <alex@mapswithme.com> | 2014-03-18 17:11:55 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:12:58 +0300 |
commit | 86ffb62add8edc3ad412805b96873fef00d5bb20 (patch) | |
tree | 9e7b1670fc83be7540d53d41965b705b7eb3a224 /indexer/classificator.cpp | |
parent | 2f98749ea87e2bafc8785f52920988b482a913f7 (diff) |
Warning fixes
Diffstat (limited to 'indexer/classificator.cpp')
-rw-r--r-- | indexer/classificator.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indexer/classificator.cpp b/indexer/classificator.cpp index 0e1288c9b6..1fd02b0b8b 100644 --- a/indexer/classificator.cpp +++ b/indexer/classificator.cpp @@ -172,6 +172,10 @@ namespace ftype ASSERT ( value <= max_value, ("invalid input value", value) ); uint8_t const cl = get_control_level(type); + // to avoid warning in release +#ifdef RELEASE + UNUSED_VALUE(levels_count); +#endif ASSERT ( cl < levels_count, (cl) ); set_value(type, cl, value); |