aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/comproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/comproc.c')
-rw-r--r--FICS/comproc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/FICS/comproc.c b/FICS/comproc.c
index 619bd37..973d47d 100644
--- a/FICS/comproc.c
+++ b/FICS/comproc.c
@@ -423,7 +423,8 @@ com_stats_rating(char *hdr, statistics *stats, char *dest, const size_t dsize)
{
char tmp[100] = { '\0' };
- snprintf(dest, dsize, "%-10s%4s %5.1f %4d %4d %4d %4d", hdr,
+ (void) snprintf(dest, dsize, "%-10s%4s %5.1f %4d %4d %4d %4d",
+ hdr,
ratstr(stats->rating),
stats->sterr,
stats->win,
@@ -434,8 +435,8 @@ com_stats_rating(char *hdr, statistics *stats, char *dest, const size_t dsize)
if (stats->whenbest) {
struct tm res = {0};
- snprintf(tmp, sizeof tmp, " %d", stats->best);
- strlcat(dest, tmp, dsize);
+ (void) snprintf(tmp, sizeof tmp, " %d", stats->best);
+ (void) strlcat(dest, tmp, dsize);
errno = 0;