]> git.sesse.net Git - stockfish/commitdiff
Remove dead code
authorlucasart <lucas.braesch@gmail.com>
Sat, 1 Nov 2014 20:16:29 +0000 (20:16 +0000)
committerJoona Kiiski <joona.kiiski@gmail.com>
Sat, 1 Nov 2014 20:16:29 +0000 (20:16 +0000)
No functional change.

Closes #87

src/evaluate.cpp
src/ucioption.cpp

index f70014e293d2ac9d88d5e3fe9d62f8102ea70e2c..057fd70c8216ec5fd4cae5d212b76d760a5ca0fc 100644 (file)
@@ -27,7 +27,6 @@
 #include "material.h"
 #include "pawns.h"
 #include "thread.h"
 #include "material.h"
 #include "pawns.h"
 #include "thread.h"
-#include "uci.h"
 
 namespace {
 
 
 namespace {
 
@@ -903,8 +902,7 @@ namespace Eval {
   }
 
 
   }
 
 
-  /// init() computes evaluation weights from the corresponding UCI parameters
-  /// and setup king tables.
+  /// init() computes evaluation weights.
 
   void init() {
 
 
   void init() {
 
index 1080d5977104c6d0a6d0d2b791e4b0c25f1d32a0..1d61d073e88a2b973b72eaef21f09caddcac40fc 100644 (file)
@@ -22,7 +22,6 @@
 #include <cstdlib>
 #include <sstream>
 
 #include <cstdlib>
 #include <sstream>
 
-#include "evaluate.h"
 #include "misc.h"
 #include "thread.h"
 #include "tt.h"
 #include "misc.h"
 #include "thread.h"
 #include "tt.h"
@@ -36,7 +35,6 @@ namespace UCI {
 
 /// 'On change' actions, triggered by an option's value change
 void on_logger(const Option& o) { start_logger(o); }
 
 /// 'On change' actions, triggered by an option's value change
 void on_logger(const Option& o) { start_logger(o); }
-void on_eval(const Option&) { Eval::init(); }
 void on_threads(const Option&) { Threads.read_uci_options(); }
 void on_hash_size(const Option& o) { TT.resize(o); }
 void on_clear_hash(const Option&) { TT.clear(); }
 void on_threads(const Option&) { Threads.read_uci_options(); }
 void on_hash_size(const Option& o) { TT.resize(o); }
 void on_clear_hash(const Option&) { TT.clear(); }