The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=6abee52e0d79f68fd725de748d7027ca8eef2294
commit 6abee52e0d79f68fd725de748d7027ca8eef2294 Author: Jose Luis Duran <jldu...@gmail.com> AuthorDate: 2023-11-30 23:30:50 +0000 Commit: Konstantin Belousov <k...@freebsd.org> CommitDate: 2023-12-09 01:06:28 +0000 strfmon: Silence scan-build warning The value stored to 'value' is never read. Reported by: Jenkins (scan-build) MFC after: 1 week --- lib/libc/stdlib/strfmon.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/libc/stdlib/strfmon.c b/lib/libc/stdlib/strfmon.c index b2d76fbed769..ade1deaffca9 100644 --- a/lib/libc/stdlib/strfmon.c +++ b/lib/libc/stdlib/strfmon.c @@ -156,7 +156,6 @@ vstrfmon_l(char * __restrict s, size_t maxsize, locale_t loc, left_prec = -1; /* no left precision specified */ right_prec = -1; /* no right precision specified */ width = -1; /* no width specified */ - value = 0; /* we have no value to print now */ /* Flags */ while (1) {