]> git.sesse.net Git - stockfish/blobdiff - src/uci.cpp
Stockfish 3
[stockfish] / src / uci.cpp
index c8f504463cef969db7a72c9816d3c23fd6f18b94..17079239bc8d4b1e2fd1f980152e86650e2000ab 100644 (file)
@@ -27,7 +27,6 @@
 #include "position.h"
 #include "search.h"
 #include "thread.h"
-#include "tt.h"
 #include "ucioption.h"
 
 using namespace std;
@@ -103,7 +102,7 @@ void UCI::loop(const string& args) {
                     << "\n"       << Options
                     << "\nuciok"  << sync_endl;
 
-      else if (token == "ucinewgame") TT.clear();
+      else if (token == "ucinewgame") { /* Avoid returning "Unknown command" */ }
       else if (token == "go")         go(pos, is);
       else if (token == "position")   set_position(pos, is);
       else if (token == "setoption")  set_option(is);