diff -r e57e2874fb2a -r d1420f5c5704 src/chess/pawn.c --- a/src/chess/pawn.c Mon Aug 24 16:13:51 2026 +0200 +++ b/src/chess/pawn.c Tue Aug 25 18:35:18 2026 +0200 @@ -80,6 +80,7 @@ size_t pawn_moves(const GameState *gamestate, Color c, Row r, File f, Move *moves) { + (void) gamestate; /* no (theoretical) move depends on the game state */ size_t count = 0; int rowdelta = c == WHITE ? 1 : -1; int promotionrow = c == WHITE ? 7 : 0;