From d7ce7489736a248fb1bb2d6c3c11266654d04451 Mon Sep 17 00:00:00 2001 From: Lucas Czech Date: Sat, 29 Jun 2024 16:57:08 +0200 Subject: [PATCH] Fix MacOS cpu count cast --- lib/genesis/utils/core/info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/genesis/utils/core/info.cpp b/lib/genesis/utils/core/info.cpp index 6b665590..252193c2 100644 --- a/lib/genesis/utils/core/info.cpp +++ b/lib/genesis/utils/core/info.cpp @@ -883,7 +883,7 @@ int get_physical_core_count_( size_t n_cpu ) } return cores.size(); #else - void(n_cpu); + (void) n_cpu; return 0; #endif }