From 3cab724b801e72791795ae6c31c47e0c8fd431dd Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Fri, 9 Jun 2023 12:30:20 -0400 Subject: [PATCH] Minor fixes --- include/fast_float/ascii_number.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/fast_float/ascii_number.h b/include/fast_float/ascii_number.h index 68e51cd..13adde1 100644 --- a/include/fast_float/ascii_number.h +++ b/include/fast_float/ascii_number.h @@ -206,7 +206,9 @@ FASTFLOAT_SIMD_DISABLE_WARNINGS } else return false; FASTFLOAT_SIMD_RESTORE_WARNINGS - +#else + (void)chars; (void)i; + return false; #endif // FASTFLOAT_SSE2 } @@ -214,7 +216,7 @@ FASTFLOAT_SIMD_RESTORE_WARNINGS // dummy for compile template ())> -uint64_t simd_parse_if_eight_digits_unrolled(UC const*, uint64_t&) { +bool simd_parse_if_eight_digits_unrolled(UC const*, uint64_t&) { return 0; }