From 1dfd486df418e9c688337a500337561db61ca5f5 Mon Sep 17 00:00:00 2001 From: IRainman Date: Wed, 22 Oct 2025 01:51:13 +0300 Subject: [PATCH] # cleanup --- include/fast_float/ascii_number.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/include/fast_float/ascii_number.h b/include/fast_float/ascii_number.h index 5bbb9c3..24eba9a 100644 --- a/include/fast_float/ascii_number.h +++ b/include/fast_float/ascii_number.h @@ -191,8 +191,7 @@ simd_parse_if_eight_digits_unrolled(char16_t const *chars, #endif i = i * 100000000 + parse_eight_digits_unrolled(simd_read8_to_u64(data)); return true; - } else - return false; + } FASTFLOAT_SIMD_RESTORE_WARNINGS #elif defined(FASTFLOAT_NEON) FASTFLOAT_SIMD_DISABLE_WARNINGS @@ -206,14 +205,13 @@ simd_parse_if_eight_digits_unrolled(char16_t const *chars, if (vminvq_u16(mask) == 0xFFFF) { i = i * 100000000 + parse_eight_digits_unrolled(simd_read8_to_u64(data)); return true; - } else - return false; + } FASTFLOAT_SIMD_RESTORE_WARNINGS #else (void)chars; (void)i; - return false; #endif + return false; } #endif