mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Comment out a redundant condition
Take advantage that VALUE_NONE = 32002 to remove the condition. Commented out and not removed becuase it is tricky to rely on the hidden value of VALUE_NONE and code can break in case we change VALUE_NONE in the future. No functional change.
This commit is contained in:
parent
09efbf915e
commit
c94145b65c
1 changed files with 1 additions and 1 deletions
|
@ -823,7 +823,7 @@ moves_loop: // When in check search starts from here
|
|||
CheckInfo ci(pos);
|
||||
value = bestValue; // Workaround a bogus 'uninitialized' warning under gcc
|
||||
improving = ss->staticEval >= (ss-2)->staticEval
|
||||
|| ss->staticEval == VALUE_NONE
|
||||
/* || ss->staticEval == VALUE_NONE Already implicit in the previous condition */
|
||||
||(ss-2)->staticEval == VALUE_NONE;
|
||||
|
||||
singularExtensionNode = !rootNode
|
||||
|
|
Loading…
Add table
Reference in a new issue