From c5900632611305395faf81f6178c24b9c3acdb27 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 6 Apr 2025 23:49:19 +0200 Subject: board_read_file: suppress clang tidy warnings (dead stores -- but they does not do any harm) --- FICS/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FICS') diff --git a/FICS/board.c b/FICS/board.c index f687b3e..c7db3a4 100644 --- a/FICS/board.c +++ b/FICS/board.c @@ -1133,7 +1133,7 @@ board_read_file(char *category, char *gname, game_state_t *gs) case 'g': case 'h': onFile = (c - 'a'); - onRank = -1; + onRank = -1; // NOLINT: dead store break; case '1': case '2': @@ -1161,7 +1161,7 @@ board_read_file(char *category, char *gname, game_state_t *gs) onColor = -1; onPiece = -1; onFile = -1; - onRank = -1; + onRank = -1; // NOLINT: dead store break; default: break; -- cgit v1.2.3