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
This commit is contained in:
Caolán McNamara 2026-09-15 08:46:09 +00:00
parent a8a02f7748
commit 27b2a9dd06

View File

@ -330,10 +330,6 @@ parse_mantissa(bigint &result, parsed_number_string_t<UC> &num,
} }
} }
} }
if (counter != 0) {
add_native(result, limb(powers_of_ten_uint64[counter]), value);
}
} }
template <typename T> template <typename T>