Author: emaste Date: Fri Sep 30 20:20:07 2016 New Revision: 306527 URL: https://svnweb.freebsd.org/changeset/base/306527
Log: libm: remove unused variables for LDBL_MANT_DIG != 113 Sponsored by: The FreeBSD Foundation Modified: head/lib/msun/src/e_coshl.c head/lib/msun/src/e_sinhl.c head/lib/msun/src/s_tanhl.c Modified: head/lib/msun/src/e_coshl.c ============================================================================== --- head/lib/msun/src/e_coshl.c Fri Sep 30 20:06:05 2016 (r306526) +++ head/lib/msun/src/e_coshl.c Fri Sep 30 20:20:07 2016 (r306527) @@ -86,7 +86,9 @@ long double coshl(long double x) { long double hi,lo,x2,x4; +#if LDBL_MANT_DIG == 113 double dx2; +#endif uint16_t ix; GET_LDBL_EXPSIGN(ix,x); Modified: head/lib/msun/src/e_sinhl.c ============================================================================== --- head/lib/msun/src/e_sinhl.c Fri Sep 30 20:06:05 2016 (r306526) +++ head/lib/msun/src/e_sinhl.c Fri Sep 30 20:20:07 2016 (r306527) @@ -85,7 +85,10 @@ long double sinhl(long double x) { long double hi,lo,x2,x4; - double dx2,s; +#if LDBL_MANT_DIG == 113 + double dx2; +#endif + double s; int16_t ix,jx; GET_LDBL_EXPSIGN(jx,x); Modified: head/lib/msun/src/s_tanhl.c ============================================================================== --- head/lib/msun/src/s_tanhl.c Fri Sep 30 20:06:05 2016 (r306526) +++ head/lib/msun/src/s_tanhl.c Fri Sep 30 20:20:07 2016 (r306527) @@ -113,7 +113,9 @@ long double tanhl(long double x) { long double hi,lo,s,x2,x4,z; +#if LDBL_MANT_DIG == 113 double dx2; +#endif int16_t jx,ix; GET_LDBL_EXPSIGN(jx,x); _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"