From nobody Sat Dec 09 01:13:10 2023 X-Original-To: dev-commits-src-all@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 4Sn9463cdfz53l5Y; Sat, 9 Dec 2023 01:13:10 +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 4Sn94630Dtz3NHp; Sat, 9 Dec 2023 01:13:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702084390; 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=+M6o8+6pvyKuIrikb7OT1dSYFEm1OmRXOa+0EMNW6Ec=; b=AMyamZW/f3bamCMkrKPF9uEmGYpCBz28D7KEbNmRc+0l5M2F431d6jVLXtGmWVP4kWJOD6 zzTe3dpPr4qaPWV5UtumRq1WLYiUqGI4NL3hUS8JTuRnJax9fTTJgmlH/yD2ADITV9vjgc YWJzIuwYN4GA+I/ueT7xOLDoRQ6mKuxv749dQEtRQao83hVBhOI84sL3Lrpes1mKNV1BnA T0S3RWmGA0nPVXRCdDPeRK5BllOvMQzyCNf/3PWKRBWa+79A4VXAksSS2c7aGs59U3oOyx olFnomz76F0ofIAWu9xu2ogR4xEkxacSb0x/VIqtLHwWQssNybHvrb8SWia0iA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702084390; a=rsa-sha256; cv=none; b=p+hhK2UWaZRtsufhnehLEefl1peg5KclTX3fECy35cCJM40wSmAdfagN+U2rX9UxifKhID JIaggUfPhvlQbonLaj923pbzTbV2263RZcQFPzmk6WRTUdi2AjQgXf2emWi6z+Z5HfhBcQ 4VxjmewtLMj3VDrIJenfWMoTob4UMME1U2hJaSDH9TQ608QNkglp1uFm9N+SzJWKQTPxjK xHiyNj8pK4RrmZGyEzgXrdP0w+GISjaM3WSoUIMQu8OacNoytr6YObPR2CAB8vhKjYg3LP kg/I1Tb/Er5ZIsuzI10bJWvvsp0klibqCzagq4RXK+VeBBkN+RjSovPguZFvaQ== 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=1702084390; 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=+M6o8+6pvyKuIrikb7OT1dSYFEm1OmRXOa+0EMNW6Ec=; b=hJeVPitS0TToIjKidcgCqRMGGQwUD6mwcmbbuWXDV2lhff1gZKu+KcreXXS/dJVAstR/KQ xzJ0JnORsI6NqNkFp37B3tMiw3HV4FSYPG51Pr/exCHAHjxodPzlV2QXtWE+hndTsaRH5H qgCoP39d3kzTYI/QGB6zPWps84eXjqwTb98woOuUdudk2kEzfklz63mv0X54N1GfGFmyRD Iu/PATjavklxAYTT6LAFyVHkNNRk5eJ2dpWKKx77KFjC6+f0cT7ThYwz4G+zUoYfM3fx2X Mr7mJPK6Ia7Zb/G6hOMoCsn6ARoZBEEOwfGH94Z+DuRLQxB3MOLna402ApRC2g== 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 4Sn9461rVXzkJx; Sat, 9 Dec 2023 01:13:10 +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 3B91DA4a041351; Sat, 9 Dec 2023 01:13:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3B91DAQg041348; Sat, 9 Dec 2023 01:13:10 GMT (envelope-from git) Date: Sat, 9 Dec 2023 01:13:10 GMT Message-Id: <202312090113.3B91DAQg041348@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 6abee52e0d79 - main - strfmon: Silence scan-build warning List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: 6abee52e0d79f68fd725de748d7027ca8eef2294 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=6abee52e0d79f68fd725de748d7027ca8eef2294 commit 6abee52e0d79f68fd725de748d7027ca8eef2294 Author: Jose Luis Duran AuthorDate: 2023-11-30 23:30:50 +0000 Commit: Konstantin Belousov 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) {