From 6aea2fb2e5bbffb657fa22337ec47e6be37e2594 Mon Sep 17 00:00:00 2001 From: IRainman Date: Fri, 28 Mar 2025 20:27:39 +0300 Subject: [PATCH] initialization cleanup. --- include/fast_float/ascii_number.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/fast_float/ascii_number.h b/include/fast_float/ascii_number.h index 5ca52f5..1edfc42 100644 --- a/include/fast_float/ascii_number.h +++ b/include/fast_float/ascii_number.h @@ -297,8 +297,6 @@ parse_number_string(UC const *p, UC const *pend, // Consider refactoring the 'parse_number_string' function. // FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN fix this. parsed_number_string_t answer; - answer.valid = false; - answer.too_many_digits = false; FASTFLOAT_ASSUME(p < pend); // assume p < pend, so dereference without checks; #ifndef FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN answer.negative = (*p == UC('-'));