From nobody Sat Dec 16 04:18:35 2023 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SsXrr0ssTz54XHb; Sat, 16 Dec 2023 04:18:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SsXrr00Wlz3BnK; Sat, 16 Dec 2023 04:18:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702700316; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=l2w6PUZ01+oDXorKC5tDIaHSCWzcrB+eF93i1I3REP0=; b=P+JkAlNhGNL1I3jJUuVtca7q5VFWWkasgdKwx00PCBPPJvTtjxWqT9q9j11dwqmOsvTCVQ mXOAd7yyLSpA6UnGATi03QbCzNZilIQKmxxkIsT0scjeEETiNm8/RwFCxkorggVVYG5kK5 qCK7OA1QoWVU/3T9uiVesAv5om8OSkrUNDOl5pB/DK6vx5KQkmc4HSLAuUHF/Sk+VkdoE8 xbVmoXZ+SpvkMFQzIxLNzyCH7DiU7IBxlRaz7TO1vTfc1ftC99TBSknMzp52RritfyL1Ag Ylq4qGH60p7OEH0tQGu+ehX92wOOZJAGSFr6GfvGvaTm8/x4cos8pOw7Qi89Pg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702700316; a=rsa-sha256; cv=none; b=aCvkbXXSHeiWaQ8WqEJfFhiBGQqCWBH/ZGGi6MNrDH9QY+LkzJ43nsIGkoDsgRxQMQazHl vRL0A/mm8AMJUtw3FcO0xElm+gAA7lKkU7T9wD0UgfulOjHOxgOeIjiVoksfybngup2o6o Qsj2V79/FGnywjFh4Z5vAqztowtJgBvRW0pg8WrXmXRXbffJx1n1kdrlYVgLl0/IFlU6g3 sQHL45KEaZJ95E6AD1FtbllD99HnySpTgPYwQgvK5FHTJahFGQPsiHlZ9g1U05UNW677lv Uv/39v/gzETyiAj1UAUXpmM+WFSb2WKtvH2EfEv48qToLrzCwnVjnBP8ESHoEg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702700316; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=l2w6PUZ01+oDXorKC5tDIaHSCWzcrB+eF93i1I3REP0=; b=cVfZD4K4ETgxtV1Qr24nJPm11L48ZxcNBkX3izR9Ga17o28dD7CmXynlFxq1uK3nsV7TBQ lbNIs1Is42stzfR0x/jsiNZyNeWfJTxxGwL26mJAl9g6CppVj/1FmnMwnu/s9Pa2B5wZJM UrZuoCLhHYFccarqB02X78iWmQNNG2Kbqeradbg76xomnY+GKEZ6wysjSbBpvBmNNtNyNy +LJyrbL+CWJ1WRarf0mt0cFBLQ6JZzU0BAgCnu1nmsc23EGytmv4OcrXxCWfQ9vNp9cEqy QrjvGdDlBsM8RyIHW3y0hlq77wQbyrxDLYyFrlediPHxC002F24LF39N5b8PIg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SsXrq5xn0zg4p; Sat, 16 Dec 2023 04:18:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BG4IZ4C059039; Sat, 16 Dec 2023 04:18:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BG4IZhR059036; Sat, 16 Dec 2023 04:18:35 GMT (envelope-from git) Date: Sat, 16 Dec 2023 04:18:35 GMT Message-Id: <202312160418.3BG4IZhR059036@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: ea99922484b7 - stable/14 - strfmon: Silence scan-build warning List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: ea99922484b7435ac8001ebd13614006c734b924 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=ea99922484b7435ac8001ebd13614006c734b924 commit ea99922484b7435ac8001ebd13614006c734b924 Author: Jose Luis Duran AuthorDate: 2023-11-30 23:30:50 +0000 Commit: Konstantin Belousov 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) {