1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 11:39:15 +00:00

Fix some Clang warnings

Found by Clang in extra verbose mode :-)

No functional change.
This commit is contained in:
Marco Costalba 2017-08-19 14:32:31 +02:00
parent fa5b0936ee
commit 7aa7dfd4df
3 changed files with 3 additions and 3 deletions

View file

@ -78,7 +78,7 @@ namespace {
public:
Evaluation() = delete;
Evaluation(const Position& p) : pos(p) {};
Evaluation(const Position& p) : pos(p) {}
Evaluation& operator=(const Evaluation&) = delete;
Value value();

View file

@ -134,8 +134,8 @@ namespace {
}
}
int stableCnt;
Key expectedPosKey;
int stableCnt;
Move pv[3];
};

View file

@ -128,7 +128,7 @@ enum MoveType {
};
enum Color {
WHITE, BLACK, NO_COLOR, COLOR_NB = 2
WHITE, BLACK, COLOR_NB = 2
};
enum CastlingSide {