git: 606b6ce48531 - stable/13 - Remove set-but-unused variable from s_sincosl.c

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Fri, 17 Dec 2021 18:38:26 UTC
The branch stable/13 has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=606b6ce48531d64455367e07367c1d527fbd93ab

commit 606b6ce48531d64455367e07367c1d527fbd93ab
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:32:40 +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();