mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 12:47:08 +00:00
Remove code that is not used anywhere
closes https://github.com/official-stockfish/Stockfish/pull/6201 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
cd52859bd5
commit
62b958f517
@@ -179,11 +179,6 @@ inline Bitboard between_bb(Square s1, Square s2) {
|
|||||||
return BetweenBB[s1][s2];
|
return BetweenBB[s1][s2];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns true if the squares s1, s2 and s3 are aligned either on a
|
|
||||||
// straight or on a diagonal line.
|
|
||||||
inline bool aligned(Square s1, Square s2, Square s3) { return line_bb(s1, s2) & s3; }
|
|
||||||
|
|
||||||
|
|
||||||
// distance() functions return the distance between x and y, defined as the
|
// distance() functions return the distance between x and y, defined as the
|
||||||
// number of steps for a king in x to reach y.
|
// number of steps for a king in x to reach y.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user