mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-10-28 18:07:16 +08:00
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:
parent
a8a02f7748
commit
27b2a9dd06
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user