]> git.sesse.net Git - stockfish/blobdiff - src/search.h
Remove an useless comparison in futility pruning
[stockfish] / src / search.h
index 0bdabdac6507cf89859eb2d3aec83e4b2264cf09..0323d47e3127b45edd42935041a9cced3e5a1fe8 100644 (file)
@@ -55,11 +55,13 @@ const int KILLER_MAX = 2;
 struct SearchStack {
   Move pv[PLY_MAX];
   Move currentMove;
-  Value currentMoveCaptureValue;
   Move mateKiller;
   Move threatMove;
   Move killers[KILLER_MAX];
   Depth reduction;
+
+  void init(int ply);
+  void initKillers();
 };