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