diff --git a/include/boost/charconv/detail/parser.hpp b/include/boost/charconv/detail/parser.hpp index cf222ff5..410c6735 100644 --- a/include/boost/charconv/detail/parser.hpp +++ b/include/boost/charconv/detail/parser.hpp @@ -306,7 +306,6 @@ inline from_chars_result parser(const char* first, const char* last, bool& sign, return {first, std::errc::invalid_argument}; } - exponent = static_cast(i - 1); std::size_t offset = i; bool round = false; // If more digits are present than representable in the significand of the target type