[board] Remove an unused local variable from pieces.rs

This commit is contained in:
Eryn Wells 2023-12-29 16:34:26 -08:00
parent 53dc80b6bb
commit c280258780

View file

@ -55,8 +55,6 @@ impl<'a> Iterator for Pieces<'a> {
}
if let (Some(bitboard), Some(shape)) = (next_nonempty_bitboard, current_shape) {
let piece = Piece::new(self.color, shape);
let mut square_iterator = bitboard.occupied_squares();
let mut next_placed_piece: Option<PlacedPiece> = None;