From nobody Fri Dec 17 18:39:00 2021 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 DCB4D18F5F5B; Fri, 17 Dec 2021 18:39:00 +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 4JFyS44cswz4pK8; Fri, 17 Dec 2021 18:39:00 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 7E84120F08; Fri, 17 Dec 2021 18:39:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BHId0TO035876; Fri, 17 Dec 2021 18:39:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BHId0pd035875; Fri, 17 Dec 2021 18:39:00 GMT (envelope-from git) Date: Fri, 17 Dec 2021 18:39:00 GMT Message-Id: <202112171839.1BHId0pd035875@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: d8483c64f347 - stable/12 - Remove set-but-unused variable from s_sincosl.c 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: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: d8483c64f347dcfe7c168b337aded4789fdf0b1b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639766340; 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=lBqTTt8TenoSNRB+TNkZJVcIRLjcKYv+ykrg+1NYe6I=; b=emhkw3NoZoJ2E/uKnJzzBmWkPdEnAK1FOe8VqugsXmeDQL4V9Dx/t2wkFIx7a0sYB+2b1X lHI8WoBQqPIcCJH5PWEiJAkkwkayhi8nS6rm6mKNkDJ+gjEd7X7RtXEH9O/XQzj8wL5z6D MkUsmg4shg26mmZlAIFEQjSGPkzTJBrvWM09oaFg+qqfLzMBB/1KN/nvJ3OQ9r/u/FOudP dZsxqPA58ILPXqR40j/F2lUxVyu2hx2ZJrtvqnmG25JmSSfsDqRjPVDI2Jq2qoZD3GCEzO N8aU5NDBOWP53RCJrpA4JvMJ4T0IDl61vwnBZ5qZC+3Nlzu/6otEVYeXvpyXTg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639766340; a=rsa-sha256; cv=none; b=AToM7qAvFRoeHZnU/IRC5kXTe89POV2r8602FpYrefdCdNme5/V3tUpYB2UsPKEx70c5iU cVuNQ/2NYiiUE45UtPi/rVQQnk5gaREqlvVkVcKeoRq/lcGbBVl8Rd9F1Ka+W6IXcHPE0i Ul6696jpZ3/BsqRFHFl5Jvtrz5n5Il6BXDBcTCjGoD/cSqipq4DG3gNIzXHI5CBVNjArmY 92j2x2mTCam5VKPPsWfeZNkU2GfxIMzZfTCas+JLsXNov75UYAHk3NV/pODF6HtXpslIJS b65p9F/9wv9vxaNxa0yJz6Z8bJo/JrVIUlC/h9Edq+E/2zuwSrXswE/XJxjZLw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=d8483c64f347dcfe7c168b337aded4789fdf0b1b commit d8483c64f347dcfe7c168b337aded4789fdf0b1b Author: Dimitry Andric AuthorDate: 2021-12-14 21:41:49 +0000 Commit: Dimitry Andric CommitDate: 2021-12-17 18:38:01 +0000 Remove set-but-unused variable from s_sincosl.c This look like a copy and paste leftover. Reported by: enh@google.com (via freebsd-numerics@) Reviewed by: Steve Kargl (cherry picked from commit 20d425842a4f80f9efc1de3f7a3b043435fe4b39) --- lib/msun/src/s_sincosl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/msun/src/s_sincosl.c b/lib/msun/src/s_sincosl.c index aef36c2320b1..3dd34575f894 100644 --- a/lib/msun/src/s_sincosl.c +++ b/lib/msun/src/s_sincosl.c @@ -50,11 +50,10 @@ void sincosl(long double x, long double *sn, long double *cs) { union IEEEl2bits z; - int e0, sgn; + int e0; long double y[2]; z.e = x; - sgn = z.bits.sign; z.bits.sign = 0; ENTERV();