diff options
| author | Markus Uhlin <markus@nifty-networks.net> | 2026-03-19 22:31:38 +0100 |
|---|---|---|
| committer | Markus Uhlin <markus@nifty-networks.net> | 2026-03-19 22:31:38 +0100 |
| commit | 6cccddcfc2003b71b471db0608c545147db71c02 (patch) | |
| tree | c89575c4db07cfe7270946df540d56ede4db7272 | |
| parent | 084fc97e452662afd86b4482a926634fa6031e1b (diff) | |
list_addsub: discarded certain fprintf() return values
| -rw-r--r-- | FICS/lists.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/FICS/lists.c b/FICS/lists.c index 87198e2..96cee50 100644 --- a/FICS/lists.c +++ b/FICS/lists.c @@ -443,9 +443,11 @@ list_addsub(int p, char *list, char *who, int addsub) if ((fd = open(filename, g_open_flags[OPFL_WRITE], g_open_modes)) < 0) { - fprintf(stderr, "Couldn't save %s list.\n", listname); + (void) fprintf(stderr, "Couldn't save %s list.\n", + listname); } else if ((fp = fdopen(fd, "w")) == NULL) { - fprintf(stderr, "Couldn't save %s list.\n", listname); + (void) fprintf(stderr, "Couldn't save %s list.\n", + listname); close(fd); } else { for (int i = 0; i < gl->numMembers; i++) |
