summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-06-02 13:52:38 -0600
committerKarl Williamson <khw@cpan.org>2014-06-05 12:23:02 -0600
commite9efacb9548c04c657ed5e5320168a87934aec52 (patch)
tree12cb50e6f8ed664ebfbb44f46c10d95c360b3ce9
parente80fe9557295fad24fdde9486df69e6243070a6d (diff)
downloadperl-e9efacb9548c04c657ed5e5320168a87934aec52.tar.gz
numeric.c: Remove unnecessary test
The second test won't be true unless the first one is (but not vice versa), so no need to test the first.
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 3c2df26408..7e95b4673b 100644
--- a/numeric.c
+++ b/numeric.c
@@ -860,7 +860,7 @@ Perl_my_atof(pTHX_ const char* s)
{
DECLARE_STORE_LC_NUMERIC_SET_TO_NEEDED();
- if (PL_numeric_local && PL_numeric_radix_sv && IN_SOME_LOCALE_FORM) {
+ if (PL_numeric_radix_sv && IN_SOME_LOCALE_FORM) {
const char *standard = NULL, *local = NULL;
bool use_standard_radix;