commit f1e93fe0f917b5c67499c09cf496efcc14fbd978 from: Markus Uhlin date: Sat Mar 7 23:33:38 2026 UTC ratstrii: discarded the snprintf() return values commit - fe7df149a069e28b262f042b96a24076bc0500cd commit + f1e93fe0f917b5c67499c09cf496efcc14fbd978 blob - 3e05ac6efde9c98cee134109cf11b9f29304d27a blob + 17963612d451bf2682a9e0821f174e3ef166d96b --- FICS/utils.c +++ FICS/utils.c @@ -1118,12 +1118,12 @@ ratstrii(int rat, int reg) 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 { if (reg) { - snprintf(tmp[on], sizeof tmp[on], "----"); + (void) snprintf(tmp[on], sizeof tmp[on], "----"); } else { - snprintf(tmp[on], sizeof tmp[on], "++++"); + (void) snprintf(tmp[on], sizeof tmp[on], "++++"); } }