aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2026-03-18 21:08:12 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2026-03-18 21:08:12 +0100
commitc4ec215f3fae90a89c6308340d1b4ce988874c7c (patch)
tree53c42448241eb3e8189ab7850eb42659fe93b796
parent65a1fea0c64aa237c2d2b69be87ac88453ef94b5 (diff)
Discarded the fprintf() return values -- writing to stderr requires no error checking
-rw-r--r--FICS/matchproc.c4
1 files changed, 2 insertions, 2 deletions
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;