From cc90f9faf41a958b5647f56a5e46365e3c672d68 Mon Sep 17 00:00:00 2001 From: Terje Date: Sat, 18 Nov 2023 01:43:49 +0100 Subject: [PATCH] Bench: 30658368 --- src/movegen.c | 2 +- src/transposition.c | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/movegen.c b/src/movegen.c index b946124f..aa4465af 100644 --- a/src/movegen.c +++ b/src/movegen.c @@ -46,7 +46,7 @@ INLINE void AddPromotions(const Position *pos, MoveList *list, const Color color } } -// Used to add pawn moves aside from promos and en passant +// Adds pawn moves aside from promos and en passant INLINE void AddPawnMoves(const Position *pos, MoveList *list, Bitboard moves, const Direction dir, const int flag) { while (moves) { Square to = PopLsb(&moves); diff --git a/src/transposition.c b/src/transposition.c index 772f0d8a..12557637 100644 --- a/src/transposition.c +++ b/src/transposition.c @@ -52,12 +52,7 @@ TTEntry* ProbeTT(const Key key, bool *ttHit) { } // Store an entry in the transposition table -void StoreTTEntry(TTEntry *tte, const Key key, - const Move move, - const int score, - const int eval, - const Depth depth, - const int bound) { +void StoreTTEntry(TTEntry *tte, Key key, Move move, int score, int eval, Depth depth, int bound) { assert(ValidBound(bound)); assert(ValidScore(score));