From cf5b070913755e2aac2a6e827e7abaa91c0b1d35 Mon Sep 17 00:00:00 2001 From: Disservin Date: Sun, 14 Jan 2024 00:30:03 +0100 Subject: [PATCH] Remove unused method init() is no longer used, and was previously replaced by the clear function. fixes https://github.com/official-stockfish/Stockfish/issues/4981 No functional change --- src/search.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/search.h b/src/search.h index 48a5630c..90ed82b9 100644 --- a/src/search.h +++ b/src/search.h @@ -48,8 +48,6 @@ class UCI; namespace Search { -// Called at startup to initialize various lookup tables, after program startup -void init(int); // Stack struct keeps track of the information we need to remember from nodes // shallower and deeper in the tree during the search. Each search thread has @@ -176,6 +174,7 @@ class Worker { public: Worker(SharedState&, std::unique_ptr, size_t); + // Called at instantiation to initialize Reductions tables // Reset histories, usually before a new game void clear();