aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2026-04-04 02:16:45 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2026-04-04 02:16:45 +0200
commit44e36b2c93d5c7490c65ecd0927994fd1a4a4d2d (patch)
tree0717fff0e72727972fae97651bec8eb824a504c4 /FICS
parent9d7a517511831b75559c039b2eaae1a3d8f176ac (diff)
com_stats_andify: discarded function return values
Diffstat (limited to 'FICS')
-rw-r--r--FICS/comproc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/FICS/comproc.c b/FICS/comproc.c
index 77c8f65..619bd37 100644
--- a/FICS/comproc.c
+++ b/FICS/comproc.c
@@ -401,15 +401,15 @@ com_stats_andify(int *numbers, int p_howmany, char *dest, size_t dsize)
}
while (p_howmany--) {
- snprintf(tmp, sizeof tmp, "%d", numbers[p_howmany]);
- strlcat(dest, tmp, dsize);
+ (void) snprintf(tmp, sizeof tmp, "%d", numbers[p_howmany]);
+ (void) strlcat(dest, tmp, dsize);
if (p_howmany > 1)
- strlcpy(tmp, ", ", sizeof tmp);
+ (void) strlcpy(tmp, ", ", sizeof tmp);
else if (p_howmany == 1)
- strlcpy(tmp, " and ", sizeof tmp);
+ (void) strlcpy(tmp, " and ", sizeof tmp);
else
- strlcpy(tmp, ".\n", sizeof tmp);
+ (void) strlcpy(tmp, ".\n", sizeof tmp);
if (strlcat(dest, tmp, dsize) >= dsize) {
(void) fprintf(stderr, "FICS: %s: warning: strlcat() "