From nobody Tue Dec 14 21:51:09 2021 X-Original-To: dev-commits-src-main@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 8F37B18E9EB2; Tue, 14 Dec 2021 21:51:09 +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 4JDBs91jYfz3sMl; Tue, 14 Dec 2021 21:51:09 +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 1B80610420; Tue, 14 Dec 2021 21:51:09 +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 1BELp9Dj005589; Tue, 14 Dec 2021 21:51:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BELp9dD005588; Tue, 14 Dec 2021 21:51:09 GMT (envelope-from git) Date: Tue, 14 Dec 2021 21:51:09 GMT Message-Id: <202112142151.1BELp9dD005588@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dimitry Andric Subject: git: 20d425842a4f - main - Remove set-but-unused variable from s_sincosl.c List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 20d425842a4f80f9efc1de3f7a3b043435fe4b39 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639518669; 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=kucRtd7DRgfTLAnbv2qnT3+KAYjconnzKfNkP3X7IYE=; b=xmHHquSV0UuZXg0YH0xn8P1Hx4sNMN5X++Hlz7KLc/0sLwEWy7D9PUEfduax7/LBQVUsXz Kt3Eo1/wmwjqJkCIHRbi8bsFT0Fr7m9uFIzBZGVqfsKAm4s/tuM3e92XIvxXaAn9uLxynh ycJvwpynVhuCNmdbrAJPwFB/4b9n6QDPO9YL/WCnEpMYn57X4XNcEp0ux1z4SN9GLQefi7 g+Y+L3e0WWamaEpHSWY4ZuJPVNcvIEYaE97qDKIOzkAu2lea3E6mZ31SC1doHXQr1sbsT6 1bgyxfVCk7afM30udAzd06tw9I1iuYVs0Cq5VrunYCDu+CIBxUbK/YLlxH1KFQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639518669; a=rsa-sha256; cv=none; b=g83p2JBR00yOFy49TiSg+MXI+8PprSklQHVf14lDSjj43QLBAYVLal2ZDjRy0dMfssaIOr Iffb/qmPRzYG3xfQ7AP2qTDLn0J/DyMruHoxrkOt6YmYpnYbxZowr9LK+bO7nPWvGrtsmI J0scv9ybtnPCMKBAmtRT3G3jPuSBea/tgn2fDmoUEFT3SIY3EUbZjRc50wuf2BpRpJkd3O 2NPEGXhnz4qrB0rtXtujwUfyKCENLfVr2qFA8eTwkIG5YKM9GQCSKNKFJ2QCf4hXXh0MdN iuBueRyWw+pB6D90Sd8O8sXUwz0WAVCko/Pjc3IdNBRr9M49xphdkFpPlLpfJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=20d425842a4f80f9efc1de3f7a3b043435fe4b39 commit 20d425842a4f80f9efc1de3f7a3b043435fe4b39 Author: Dimitry Andric AuthorDate: 2021-12-14 21:41:49 +0000 Commit: Dimitry Andric CommitDate: 2021-12-14 21:50:30 +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 MFC after: 3 days --- 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();