]> git.sesse.net Git - stockfish/blobdiff - src/uci.cpp
Tidy up benchmark.cpp
[stockfish] / src / uci.cpp
index 9593b593c897fd1d626d452d62fdb8b8dc6b5df9..34a26586a6a8295f0617b22d4945bfc16dc6af65 100644 (file)
@@ -203,10 +203,10 @@ namespace {
   bool go(Position& pos, UCIParser& up) {
 
     string token;
-    int time[] = { 0, 0 }, inc[] = { 0, 0 };
-    SearchLimits limits(0, 0, 0, 0, 0, 0, false, false);
-    Move searchMoves[MOVES_MAX] = { MOVE_NONE };
+    SearchLimits limits;
+    Move searchMoves[MAX_MOVES] = { MOVE_NONE };
     Move* cur = searchMoves;
+    int time[] = { 0, 0 }, inc[] = { 0, 0 };
 
     while (up >> token)
     {