git: 08f6c7481804 - stable/13 - strfmon: Silence scan-build warning

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sat, 16 Dec 2023 04:19:22 UTC
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=08f6c7481804e47d93a0f50238eefe4b6211fc37

commit 08f6c7481804e47d93a0f50238eefe4b6211fc37
Author:     Jose Luis Duran <jlduran@gmail.com>
AuthorDate: 2023-11-30 23:30:50 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-12-16 04:18:47 +0000

    strfmon: Silence scan-build warning
    
    (cherry picked from commit 6abee52e0d79f68fd725de748d7027ca8eef2294)
---
 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 0e36eb0babe5..d770b6f32bd1 100644
--- a/lib/libc/stdlib/strfmon.c
+++ b/lib/libc/stdlib/strfmon.c
@@ -157,7 +157,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) {