From: lucasart Date: Sat, 1 Nov 2014 20:16:29 +0000 (+0000) Subject: Remove dead code X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=2ee125029420b46b255116ab1d57931a9d6cf3e4;ds=sidebyside Remove dead code No functional change. Closes #87 --- diff --git a/src/evaluate.cpp b/src/evaluate.cpp index f70014e2..057fd70c 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -27,7 +27,6 @@ #include "material.h" #include "pawns.h" #include "thread.h" -#include "uci.h" 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() { diff --git a/src/ucioption.cpp b/src/ucioption.cpp index 1080d597..1d61d073 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -22,7 +22,6 @@ #include #include -#include "evaluate.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); } -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(); }