:strtold_nan: remove unnecessary strcmp check

It gets checked again later on in the testcase
This commit is contained in:
Enji Cooper 2017-01-14 08:35:29 +00:00
parent 1081817ad5
commit 50e474a4f6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/netbsd-tests-upstream-01-2017/; revision=312141

View File

@ -218,9 +218,7 @@ ATF_TC_BODY(strtold_nan, tc)
volatile long double ld = strtold(nan_string, &end);
ATF_REQUIRE(isnan(ld) != 0);
#ifdef __FreeBSD__
ATF_REQUIRE(strcmp(end, "y") == 0);
#else
#ifndef __FreeBSD__
ATF_REQUIRE(__isnanl(ld) != 0);
#endif
ATF_REQUIRE(strcmp(end, "y") == 0);