mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 01:56:58 +08:00
Fix some Clang warnings
Found by Clang in extra verbose mode :-) No functional change.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -134,8 +134,8 @@ namespace {
|
||||
}
|
||||
}
|
||||
|
||||
int stableCnt;
|
||||
Key expectedPosKey;
|
||||
int stableCnt;
|
||||
Move pv[3];
|
||||
};
|
||||
|
||||
|
||||
@@ -128,7 +128,7 @@ enum MoveType {
|
||||
};
|
||||
|
||||
enum Color {
|
||||
WHITE, BLACK, NO_COLOR, COLOR_NB = 2
|
||||
WHITE, BLACK, COLOR_NB = 2
|
||||
};
|
||||
|
||||
enum CastlingSide {
|
||||
|
||||
Reference in New Issue
Block a user