diff options
author | ngie <ngie@FreeBSD.org> | 2015-12-05 21:49:35 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-12-05 21:49:35 +0000 |
commit | 5e0ed4fa0a68fde14782f68c7461b8b95176515b (patch) | |
tree | 7ee2292c97b1b6b9a0064ff90fcd38f441a9828d /lib/libc/tests/stdio/scanfloat_test.c | |
parent | 11ddbfbc5cbb55d74dd49e7d13251e56cb1dff91 (diff) | |
download | FreeBSD-src-5e0ed4fa0a68fde14782f68c7461b8b95176515b.zip FreeBSD-src-5e0ed4fa0a68fde14782f68c7461b8b95176515b.tar.gz |
MFC r283801,r290846,r290851,r290856,r290860:
r283801 (by araujo):
Fix warning of implicit declaration of function 'mkdir'.
Differential Revision: D2662
Reviewed by: rodrigc, ngie
r290846:
Bump WARNS to 2
Sponsored by: EMC / Isilon Storage Division
r290851:
Change WARNS to 2 across the board with all the libc testcases
This effectively "reverts" r290846
Sponsored by: EMC / Isilon Storage Division
r290856 (by bapt):
also skip the definition of ':fopen_regular' to avoid the build to fail due to
unused variables defined by ATF macros
r290860 (by bapt):
Remove unused variables to fix building world
Diffstat (limited to 'lib/libc/tests/stdio/scanfloat_test.c')
-rw-r--r-- | lib/libc/tests/stdio/scanfloat_test.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/libc/tests/stdio/scanfloat_test.c b/lib/libc/tests/stdio/scanfloat_test.c index 60c1b61..7e27e69 100644 --- a/lib/libc/tests/stdio/scanfloat_test.c +++ b/lib/libc/tests/stdio/scanfloat_test.c @@ -58,7 +58,6 @@ ATF_TC_BODY(normalized_numbers, tc) long double ld = 0.0; double d = 0.0; float f = 0.0; - char *endp; buf[0] = '\0'; ATF_REQUIRE(setlocale(LC_NUMERIC, "")); @@ -157,7 +156,6 @@ ATF_TC_BODY(infinities_and_nans, tc) long double ld = 0.0; double d = 0.0; float f = 0.0; - char *endp; ATF_REQUIRE(setlocale(LC_NUMERIC, "C")); @@ -205,11 +203,8 @@ ATF_TC_BODY(infinities_and_nans, tc) ATF_TC_WITHOUT_HEAD(rounding_tests); ATF_TC_BODY(rounding_tests, tc) { - char buf[128]; long double ld = 0.0; double d = 0.0; - float f = 0.0; - char *endp; ATF_REQUIRE(setlocale(LC_NUMERIC, "C")); @@ -287,10 +282,6 @@ ATF_TC_BODY(rounding_tests, tc) ATF_TC_WITHOUT_HEAD(strtod); ATF_TC_BODY(strtod, tc) { - char buf[128]; - long double ld = 0.0; - double d = 0.0; - float f = 0.0; char *endp; ATF_REQUIRE(setlocale(LC_NUMERIC, "C")); |