From 7ed6af120a9becdfbf8ae9e7c45fb7dcd618d23e Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 2 Jan 2026 09:28:41 +0100 Subject: [PATCH] Fix -Wunused-parameter warning. When compiling the cluster branch but in non-MPI mode, we'd get some warnings in cluster.h about unused ThreadPool parameters. No functional change. --- src/cluster.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cluster.h b/src/cluster.h index 185cb0cf7..27fdcf0b3 100644 --- a/src/cluster.h +++ b/src/cluster.h @@ -147,8 +147,8 @@ uint64_t tb_hits(const ThreadPool&); uint64_t TT_saves(const ThreadPool&); inline void cluster_info(const ThreadPool&, Depth, TimePoint) {} inline void signals_init() {} -inline void signals_poll(ThreadPool& threads) {} -inline void signals_sync(ThreadPool& threads) {} +inline void signals_poll(ThreadPool&) {} +inline void signals_sync(ThreadPool&) {} #endif /* USE_MPI */