summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2026-10-05 22:20:58 -0700
committerScott Gasch <[email protected]>2026-10-05 22:20:58 -0700
commitc03e7de56b316f83592ec39ce098a204628009cf (patch)
tree2b71cb13ad2c15b4cd995ae8349ab6bfe8e9cf6c /src/search.c
parent36b6628fc7a7c481b3d00c3141a800d869c63dca (diff)
Remove dead ValueOfMaterialInTroubleAfterNull
Declared in chess.h, defined in dynamic.c, documented as the nullmove-pruning safety-net sibling of ValueOfMaterialInTroubleDespiteMove -- but it had zero call sites anywhere in the tree, only a comment in search.c describing what it was conceptually meant to catch. Nothing ever wired it in. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/search.c b/src/search.c
index e6249b0..c434f48 100644
--- a/src/search.c
+++ b/src/search.c
@@ -2131,8 +2131,8 @@ Search(IN SEARCHER_THREAD_CONTEXT *ctx,
// number of example FENs per bucket (same "capped FEN
// sampler" idea as eval.c's MARGINSAFETY_EXCEEDED logging)
// so these can be inspected by hand for genuine zugzwang
- // our TotalNonPawnCount/ValueOfMaterialInTroubleAfterNull
- // safety net is missing, vs. ordinary search noise.
+ // our TotalNonPawnCount safety net is missing, vs. ordinary
+ // search noise.
static ULONG uFalsePositiveFenSamples[NC_TOTAL_BUCKETS];
if (uFalsePositiveFenSamples[uNullCalibBucket] < 5)
{