From afbc2e5a4ab00d6110471caefb66c51583088289 Mon Sep 17 00:00:00 2001 From: The Tumultuous Unicorn Of Darkness Date: Sat, 3 Aug 2024 12:38:19 +0200 Subject: [PATCH] Hide a warning /home/runner/work/libcpuid/libcpuid/libcpuid/cpuid_main.c:450:44: warning: unused parameter 'logical_cpu' [-Wunused-parameter] static bool set_cpu_affinity(logical_cpu_t logical_cpu) --- libcpuid/cpuid_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libcpuid/cpuid_main.c b/libcpuid/cpuid_main.c index 6df9990..1000044 100644 --- a/libcpuid/cpuid_main.c +++ b/libcpuid/cpuid_main.c @@ -449,6 +449,7 @@ static bool restore_cpu_affinity(void) #ifndef SET_CPU_AFFINITY static bool set_cpu_affinity(logical_cpu_t logical_cpu) { + UNUSED(logical_cpu); static int warning_printed = 0; if (!warning_printed) { warning_printed = 1;