From ee3843af610596df2e649ebcee6bba5c74083970 Mon Sep 17 00:00:00 2001 From: Luca Erbetta <lucaerbetta105@gmail.com> Date: Thu, 7 Nov 2019 00:18:38 +0100 Subject: [PATCH] Fixed warnings --- bitpacking/BitPacker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitpacking/BitPacker.h b/bitpacking/BitPacker.h index 5707fe4..c5df167 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 -- GitLab