]> git.sesse.net Git - stockfish/blobdiff - src/uci.cpp
Tidy up benchmark.cpp
[stockfish] / src / uci.cpp
index 248601b5de3b5db960a664f589b7ccdb0c47ecc4..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);
+    SearchLimits limits;
     Move searchMoves[MAX_MOVES] = { MOVE_NONE };
     Move* cur = searchMoves;
+    int time[] = { 0, 0 }, inc[] = { 0, 0 };
 
     while (up >> token)
     {