diff options
| author | Markus Uhlin <markus@nifty-networks.net> | 2026-03-14 13:38:14 +0100 |
|---|---|---|
| committer | Markus Uhlin <markus@nifty-networks.net> | 2026-03-14 13:38:14 +0100 |
| commit | 443095c196da47cf62fa0e66dc9dea5828aad02f (patch) | |
| tree | c8012765d776d70f75a6e73d78f8d3804524e5a8 /FICS | |
| parent | 86616816cfb5ade62aea07d82c191474bce2e5c9 (diff) | |
Discarded function return values
Diffstat (limited to 'FICS')
| -rw-r--r-- | FICS/playerdb.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/FICS/playerdb.c b/FICS/playerdb.c index 842306b..e608ccb 100644 --- a/FICS/playerdb.c +++ b/FICS/playerdb.c @@ -1849,18 +1849,20 @@ player_pend_print(int p, pending *pend) if (p == pend->whofrom) { (void)strlcpy(outstr, "You are offering ", sizeof outstr); } else { - snprintf(outstr, sizeof outstr, "%s is offering ", + (void)snprintf(outstr, sizeof outstr, "%s is offering ", parray[pend->whofrom].name); } if (p == pend->whoto) { /* null */; } else { - snprintf(tmp, sizeof tmp, "%s ", parray[pend->whoto].name); + (void)snprintf(tmp, sizeof tmp, "%s ", + parray[pend->whoto].name); } if (strlcat(outstr, tmp, sizeof outstr) >= sizeof outstr) { - fprintf(stderr, "FICS: %s: warning: strlcat() truncated\n", + (void)fprintf(stderr, "FICS: %s: warning: " + "strlcat() truncated\n", __func__); } |
