Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
No functional change.

Closes #87
  • Loading branch information
lucasart authored and zamar committed Nov 1, 2014
1 parent d07a875 commit 2ee1250
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions src/evaluate.cpp
Expand Up @@ -27,7 +27,6 @@
#include "material.h"
#include "pawns.h"
#include "thread.h"
#include "uci.h"

namespace {

Expand Down Expand Up @@ -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() {

Expand Down
2 changes: 0 additions & 2 deletions src/ucioption.cpp
Expand Up @@ -22,7 +22,6 @@
#include <cstdlib>
#include <sstream>

#include "evaluate.h"
#include "misc.h"
#include "thread.h"
#include "tt.h"
Expand All @@ -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(); }
Expand Down

0 comments on commit 2ee1250

Please sign in to comment.