]> git.sesse.net Git - stockfish/blobdiff - src/uci.cpp
Stockfish 2.3
[stockfish] / src / uci.cpp
index c18cfc35309a3ac9a4a0ab039e6097b5ba47aef2..3895c7a1d49aa001535430616d97c58920179697 100644 (file)
@@ -26,7 +26,6 @@
 #include "position.h"
 #include "search.h"
 #include "thread.h"
 #include "position.h"
 #include "search.h"
 #include "thread.h"
-#include "tt.h"
 #include "ucioption.h"
 
 using namespace std;
 #include "ucioption.h"
 
 using namespace std;
@@ -94,7 +93,7 @@ void UCI::loop(const string& args) {
           go(pos, is);
 
       else if (token == "ucinewgame")
           go(pos, is);
 
       else if (token == "ucinewgame")
-          TT.clear();
+      { /* Avoid returning "Unknown command" */ }
 
       else if (token == "isready")
           sync_cout << "readyok" << sync_endl;
 
       else if (token == "isready")
           sync_cout << "readyok" << sync_endl;