diff options
| author | Markus Uhlin <markus@nifty-networks.net> | 2026-03-08 00:29:19 +0100 |
|---|---|---|
| committer | Markus Uhlin <markus@nifty-networks.net> | 2026-03-08 00:29:19 +0100 |
| commit | 9b5e600ae886bec92d2edefe96279d9e9fda9671 (patch) | |
| tree | 15468d7b52f046f65a8ab6908b8f1147b9d0c5cd /FICS/utils.c | |
| parent | 275f0dc71b4ad39308d3ffe44ee777bf9d323575 (diff) | |
ratstr: discard the snprintf() return values
Diffstat (limited to 'FICS/utils.c')
| -rw-r--r-- | FICS/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
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++; |
