git: ea99922484b7 - stable/14 - strfmon: Silence scan-build warning

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

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

commit ea99922484b7435ac8001ebd13614006c734b924
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:17:51 +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 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) {