From c4ec215f3fae90a89c6308340d1b4ce988874c7c Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Wed, 18 Mar 2026 21:08:12 +0100 Subject: Discarded the fprintf() return values -- writing to stderr requires no error checking --- FICS/matchproc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FICS/matchproc.c') diff --git a/FICS/matchproc.c b/FICS/matchproc.c index 00ecad4..a95e645 100644 --- a/FICS/matchproc.c +++ b/FICS/matchproc.c @@ -181,7 +181,7 @@ create_new_match(int white_player, int black_player, int wt, int winc, int bt, pprintf(white_player, "PROBLEM LOADING BOARD. Game Aborted.\n"); pprintf(black_player, "PROBLEM LOADING BOARD. Game Aborted.\n"); - fprintf(stderr, "FICS: PROBLEM LOADING BOARD %s %s. " + (void) fprintf(stderr, "FICS: PROBLEM LOADING BOARD %s %s. " "Game Aborted.\n", category, board); } @@ -955,7 +955,7 @@ com_match(int p, param_list param) if (pendfrom >= 0) { if (pendto >= 0) { pprintf(p, "Internal error\n"); - fprintf(stderr, "FICS: This shouldn't happen. " + (void) fprintf(stderr, "FICS: This shouldn't happen. " "You can't have a match pending from and to the " "same person.\n"); return COM_OK; -- cgit v1.2.3