From 89e6b8decafe1526f685d760e1e8e73e8432a390 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Tue, 24 Mar 2026 21:17:49 +0100 Subject: Discarded fprintf() return values -- writing to stderr is ok --- FICS/eco.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'FICS') diff --git a/FICS/eco.c b/FICS/eco.c index 48017fb..c561676 100644 --- a/FICS/eco.c +++ b/FICS/eco.c @@ -188,13 +188,13 @@ ECO_init(void) fclose(fp); ECO_book[i] = NULL; - fprintf(stderr, "%d entries in ECO book\n", i); + (void) fprintf(stderr, "%d entries in ECO book\n", i); ECO_entries = i; while (--i >= 0) { if (ECO_book[i] == NULL) { - fprintf(stderr, "ERROR! ECO book position number %d " - "is NULL.", i); + (void) fprintf(stderr, "ERROR! ECO book position " + "number %d is NULL.\n", i); } } } @@ -259,7 +259,7 @@ NIC_init(void) fclose(fp); NIC_book[i] = NULL; - fprintf(stderr, "%d entries in NIC book\n", i); + (void) fprintf(stderr, "%d entries in NIC book\n", i); NIC_entries = i; } @@ -323,7 +323,7 @@ LONG_init(void) fclose(fp); LONG_book[i] = NULL; - fprintf(stderr, "%d entries in LONG book\n", i); + (void) fprintf(stderr, "%d entries in LONG book\n", i); LONG_entries = i; } -- cgit v1.2.3