]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Remove redundant assignment in search()
[stockfish] / src / search.cpp
index 9cfd09e2ffa11c85f2bf8f047363dbfe3759056e..58a82d9dc24699cf04ad76b8b3dae4d40a44ec71 100644 (file)
@@ -394,7 +394,7 @@ bool think(Position& pos, const SearchLimits& limits, Move searchMoves[]) {
 
   // Read UCI options
   UCIMultiPV = Options["MultiPV"].value<int>();
-  SkillLevel = Options["Skill level"].value<int>();
+  SkillLevel = Options["Skill Level"].value<int>();
 
   read_evaluation_uci_options(pos.side_to_move());
   Threads.read_uci_options();
@@ -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);