From 8521658302b5170469339b93f54490a79473a8d0 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sun, 9 Oct 2016 07:47:39 -0400 Subject: Fix Clang warnings --- src/lib/utils/cpuid.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/lib/utils') diff --git a/src/lib/utils/cpuid.h b/src/lib/utils/cpuid.h index 4e276fabe..53e59e9e5 100644 --- a/src/lib/utils/cpuid.h +++ b/src/lib/utils/cpuid.h @@ -170,7 +170,6 @@ class BOTAN_DLL CPUID */ static void clear_cpuid_bit(CPUID_bits bit) { - BOTAN_ASSERT(bit < 128, "CPUID bit within bounds"); const uint64_t mask = ~(static_cast(1) << (bit % 64)); g_processor_flags[bit/64] &= mask; } @@ -180,7 +179,6 @@ class BOTAN_DLL CPUID if(!g_initialized) initialize(); const size_t bit = static_cast(elem); - BOTAN_ASSERT(bit < 128, "CPUID bit within bounds"); return ((g_processor_flags[bit/64] >> (bit % 64)) & 1); } -- cgit v1.2.3