diff --git a/bitpacking/BitPacker.h b/bitpacking/BitPacker.h index 5707fe4a385f6db5eb8a02a293d57e3b88f1189e..c5df1679bd6aae262bdad175368aeda30c27c083 100644 --- a/bitpacking/BitPacker.h +++ b/bitpacking/BitPacker.h @@ -353,7 +353,7 @@ class BitPacker { and value to be written in the packet and check some conditions */ template<typename T> bool checkParameters(int pos, int num, T val) { - + (void)val; // Avoid unused warning // check that T is a numerical type static_assert(std::is_arithmetic<T>::value, "The specified value is not a number (T must be an arithmetic type)"); // check that T is uintX_t