git: 20d425842a4f - main - Remove set-but-unused variable from s_sincosl.c
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Dec 2021 21:51:09 UTC
The branch main has been updated by dim:
URL: https://cgit.FreeBSD.org/src/commit/?id=20d425842a4f80f9efc1de3f7a3b043435fe4b39
commit 20d425842a4f80f9efc1de3f7a3b043435fe4b39
Author: Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2021-12-14 21:41:49 +0000
Commit: Dimitry Andric <dim@FreeBSD.org>
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 <sgk@troutmask.apl.washington.edu>
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();