1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00

Remove dead code

No functional change.

Closes #87
This commit is contained in:
lucasart 2014-11-01 20:16:29 +00:00 committed by Joona Kiiski
parent d07a875398
commit 2ee1250294
2 changed files with 1 additions and 5 deletions

View file

@ -27,7 +27,6 @@
#include "material.h" #include "material.h"
#include "pawns.h" #include "pawns.h"
#include "thread.h" #include "thread.h"
#include "uci.h"
namespace { namespace {
@ -903,8 +902,7 @@ namespace Eval {
} }
/// init() computes evaluation weights from the corresponding UCI parameters /// init() computes evaluation weights.
/// and setup king tables.
void init() { void init() {

View file

@ -22,7 +22,6 @@
#include <cstdlib> #include <cstdlib>
#include <sstream> #include <sstream>
#include "evaluate.h"
#include "misc.h" #include "misc.h"
#include "thread.h" #include "thread.h"
#include "tt.h" #include "tt.h"
@ -36,7 +35,6 @@ namespace UCI {
/// 'On change' actions, triggered by an option's value change /// 'On change' actions, triggered by an option's value change
void on_logger(const Option& o) { start_logger(o); } 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_threads(const Option&) { Threads.read_uci_options(); }
void on_hash_size(const Option& o) { TT.resize(o); } void on_hash_size(const Option& o) { TT.resize(o); }
void on_clear_hash(const Option&) { TT.clear(); } void on_clear_hash(const Option&) { TT.clear(); }