Remove unneeded depth tracking in qsearch

Since simplification of quiet checks in qsearch this depth isn't used by
any function at all apart movepicker, which also doesn't use passed
qsearch depth in any way, so can be removed. No functional change.

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

No functional change
This commit is contained in:
Michael Chaly
2024-07-24 18:25:08 +03:00
committed by Disservin
parent 85893ac1cd
commit 607c3e404f
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -291,7 +291,7 @@ class Worker {
// Quiescence search function, which is called by the main search
template<NodeType nodeType>
Value qsearch(Position& pos, Stack* ss, Value alpha, Value beta, Depth depth = 0);
Value qsearch(Position& pos, Stack* ss, Value alpha, Value beta);
Depth reduction(bool i, Depth d, int mn, int delta) const;