From f205fe1fe503fe2eae8167225393e0abdd635042 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Wed, 2 Sep 2009 14:19:51 +0200 Subject: [PATCH] Retire piece_is_slider(PieceType pt) Is not used in any part of the sources. No functional change, of course ;-) Signed-off-by: Marco Costalba --- src/piece.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/piece.h b/src/piece.h index 48e26c39..5605f4b6 100644 --- a/src/piece.h +++ b/src/piece.h @@ -83,10 +83,6 @@ inline int piece_is_slider(Piece p) { return SlidingArray[int(p)]; } -inline int piece_is_slider(PieceType pt) { - return SlidingArray[int(pt)]; -} - inline SquareDelta pawn_push(Color c) { return (c == WHITE ? DELTA_N : DELTA_S); } -- 2.39.2