mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53:09 +00:00
Remove redundant assignment in search()
It is already assigned few lines before. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
bb86691a0d
commit
339bf9b7e1
1 changed files with 0 additions and 1 deletions
|
@ -1067,7 +1067,6 @@ split_point_start: // At split points actual search starts from here
|
||||||
ss->reduction = reduction<PvNode>(depth, moveCount);
|
ss->reduction = reduction<PvNode>(depth, moveCount);
|
||||||
if (ss->reduction)
|
if (ss->reduction)
|
||||||
{
|
{
|
||||||
alpha = SpNode ? sp->alpha : alpha;
|
|
||||||
Depth d = newDepth - ss->reduction;
|
Depth d = newDepth - ss->reduction;
|
||||||
value = -search<NonPV>(pos, ss+1, -(alpha+1), -alpha, d);
|
value = -search<NonPV>(pos, ss+1, -(alpha+1), -alpha, d);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue