Fix compile on icc

Error is:

  a value of type "int" cannot be assigned to an entity of type "Value"

Also retire the now unused squares_of_color() function.

No functional change.
This commit is contained in:
Marco Costalba
2015-06-25 05:15:09 +02:00
parent e8cc5c9968
commit 3f1bc9e013
4 changed files with 4 additions and 11 deletions

View File

@@ -902,7 +902,7 @@ moves_loop: // When in check and at SpNode search starts from here
// Futility pruning: parent node
if (predictedDepth < 7 * ONE_PLY)
{
futilityValue = ss->staticEval + futility_margin(predictedDepth) + 256;
futilityValue = ss->staticEval + futility_margin(predictedDepth) + 256;
if (futilityValue <= alpha)
{