Remove unused threatenedPieces

threatenedPieces is no longer used since #6023

Also can_move_king_or_pawn() can be const.
Also remove a couple of redundant declarations.

closes https://github.com/official-stockfish/Stockfish/pull/6101

No functional change
This commit is contained in:
mstembera
2025-06-02 21:24:38 +02:00
committed by Joost VandeVondele
parent dc85c5a4c9
commit d27298d7dc
4 changed files with 4 additions and 12 deletions
-2
View File
@@ -28,8 +28,6 @@
namespace Stockfish {
enum Color : int8_t;
TimePoint TimeManagement::optimum() const { return optimumTime; }
TimePoint TimeManagement::maximum() const { return maximumTime; }