diff options
Diffstat (limited to 'stdlib/strtod.c')
-rw-r--r-- | stdlib/strtod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/strtod.c b/stdlib/strtod.c index 859e077..60a3de5 100644 --- a/stdlib/strtod.c +++ b/stdlib/strtod.c @@ -406,7 +406,7 @@ INTERNAL (STRTOF) (nptr, endptr, group) if (mbtowc ((wchar_t *) &decimal, _NL_CURRENT (LC_NUMERIC, DECIMAL_POINT), strlen (_NL_CURRENT (LC_NUMERIC, DECIMAL_POINT))) <= 0) decimal = (wint_t) *_NL_CURRENT (LC_NUMERIC, DECIMAL_POINT); - + assert (decimal != L'\0'); /* Prepare number representation. */ exponent = 0; |