From 27b2a9dd0644792c1e2db4d24214396a40788073 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 15 Sep 2026 08:46:09 +0000 Subject: [PATCH] drop the unreachable tail of parse_mantissa counter is always zero when the loops end, so the final add_native never runs seen in Coverity as cid#488376 DEADCODE dead_error_line --- include/fast_float/digit_comparison.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/fast_float/digit_comparison.h b/include/fast_float/digit_comparison.h index 70085bed..6aac9522 100644 --- a/include/fast_float/digit_comparison.h +++ b/include/fast_float/digit_comparison.h @@ -330,10 +330,6 @@ parse_mantissa(bigint &result, parsed_number_string_t &num, } } } - - if (counter != 0) { - add_native(result, limb(powers_of_ten_uint64[counter]), value); - } } template