aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-03-17 12:27:48 -0400
committerJack Lloyd <[email protected]>2018-03-17 12:27:48 -0400
commit6b7f910932edf6c0b97a25b70ccb268020975a12 (patch)
treef48d584598ea692e5bb125eebd5a35bf441d2bff /src/lib/utils
parent4b6b6912cc5c0381790a2232b5580e32689f28a2 (diff)
Avoid unused arg warning in PowerPC CPUID code
Diffstat (limited to 'src/lib/utils')
-rw-r--r--src/lib/utils/cpuid/cpuid_ppc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/utils/cpuid/cpuid_ppc.cpp b/src/lib/utils/cpuid/cpuid_ppc.cpp
index d73912b86..43b684785 100644
--- a/src/lib/utils/cpuid/cpuid_ppc.cpp
+++ b/src/lib/utils/cpuid/cpuid_ppc.cpp
@@ -35,6 +35,8 @@ namespace Botan {
*/
uint64_t CPUID::detect_cpu_features(size_t* cache_line_size)
{
+ BOTAN_UNUSED(cache_line_size);
+
#if defined(BOTAN_TARGET_OS_IS_DARWIN) || defined(BOTAN_TARGET_OS_IS_OPENBSD)
// On Darwin/OS X and OpenBSD, use sysctl