commit 9b5e600ae886bec92d2edefe96279d9e9fda9671 from: Markus Uhlin date: Sat Mar 7 23:29:19 2026 UTC ratstr: discard the snprintf() return values commit - 275f0dc71b4ad39308d3ffe44ee777bf9d323575 commit + 9b5e600ae886bec92d2edefe96279d9e9fda9671 blob - b8df65cace9cf45a444acb3be585ed085afb07c7 blob + 81bd564608ea601d0dd2c5860c6716d01ee6d727 --- FICS/utils.c +++ 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++;