Fix MSVC warning C4100

This commit is contained in:
Matt Borland
2023-04-20 14:18:03 +02:00
parent cb5311810a
commit 82a0e317f9

View File

@@ -398,7 +398,7 @@ struct dragonbox_signed_significand_bits
}
template <typename UInt>
BOOST_CXX14_CONSTEXPR UInt divide_by_pow10(unsigned N, UInt n_max, UInt n) noexcept
BOOST_CXX14_CONSTEXPR UInt divide_by_pow10(unsigned N, BOOST_ATTRIBUTE_UNUSED UInt n_max, UInt n) noexcept
{
BOOST_IF_CONSTEXPR (std::is_same<UInt, std::uint32_t>::value && N == 2)
{