From 9b5e600ae886bec92d2edefe96279d9e9fda9671 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 8 Mar 2026 00:29:19 +0100 Subject: ratstr: discard the snprintf() return values --- FICS/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FICS') diff --git a/FICS/utils.c b/FICS/utils.c index b8df65c..81bd564 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -1100,9 +1100,9 @@ ratstr(int rat) if (on == 20) on = 0; if (rat) { - snprintf(tmp[on], sizeof tmp[on], "%4d", rat); + (void) snprintf(tmp[on], sizeof tmp[on], "%4d", rat); } else { - snprintf(tmp[on], sizeof tmp[on], "----"); + (void) snprintf(tmp[on], sizeof tmp[on], "----"); } on++; -- cgit v1.2.3