diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2016-11-17 18:51:06 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2016-11-17 18:51:06 +0100 |
commit | 4beb33aee4a74a298a548d27806e95946910c2e5 (patch) | |
tree | 1597b5e5fb68842a91fd05661e8d3ff3b9f20768 /searchlib/src/tests/bitcompression/expgolomb | |
parent | 4b1fcd494ab08a368c01c566b48707fe9ca42f2f (diff) |
mark all temporary variables that only exist to assert (void), so that NDEBUG builds can succeed too.
Diffstat (limited to 'searchlib/src/tests/bitcompression/expgolomb')
-rw-r--r-- | searchlib/src/tests/bitcompression/expgolomb/expgolomb_test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searchlib/src/tests/bitcompression/expgolomb/expgolomb_test.cpp b/searchlib/src/tests/bitcompression/expgolomb/expgolomb_test.cpp index dcf0f69ee55..001a420e83f 100644 --- a/searchlib/src/tests/bitcompression/expgolomb/expgolomb_test.cpp +++ b/searchlib/src/tests/bitcompression/expgolomb/expgolomb_test.cpp @@ -203,6 +203,7 @@ public: void addConstKFactory(int kValue, IDecodeFuncFactory factory) { + (void) kValue; assert(static_cast<unsigned int>(kValue) == _constK.size()); _constK.push_back(factory); } |