diff options
| author | Markus Uhlin <markus@nifty-networks.net> | 2026-03-08 00:33:38 +0100 |
|---|---|---|
| committer | Markus Uhlin <markus@nifty-networks.net> | 2026-03-08 00:33:38 +0100 |
| commit | f1e93fe0f917b5c67499c09cf496efcc14fbd978 (patch) | |
| tree | 60b9da051a730534328c838a4a0f335e287c1f02 | |
| parent | fe7df149a069e28b262f042b96a24076bc0500cd (diff) | |
ratstrii: discarded the snprintf() return values
| -rw-r--r-- | FICS/utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FICS/utils.c b/FICS/utils.c index 3e05ac6..1796361 100644 --- a/FICS/utils.c +++ b/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], "++++"); } } |
