projects
/
stockfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb86691
)
Remove redundant assignment in search()
author
Marco Costalba
<mcostalba@gmail.com>
Thu, 5 May 2011 09:55:28 +0000
(11:55 +0200)
committer
Marco Costalba
<mcostalba@gmail.com>
Thu, 5 May 2011 11:16:26 +0000
(12:16 +0100)
It is already assigned few lines before.
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index 37793d607e98e2f6e3b4254533a8da4bfa20e64f..58a82d9dc24699cf04ad76b8b3dae4d40a44ec71 100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-1067,7
+1067,6
@@
split_point_start: // At split points actual search starts from here
ss->reduction = reduction<PvNode>(depth, moveCount);
if (ss->reduction)
{
- alpha = SpNode ? sp->alpha : alpha;
Depth d = newDepth - ss->reduction;
value = -search<NonPV>(pos, ss+1, -(alpha+1), -alpha, d);