From e9efacb9548c04c657ed5e5320168a87934aec52 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Mon, 2 Jun 2014 13:52:38 -0600 Subject: 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. --- numeric.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1