From 82a0e317f99f59664928f10a6cdd350e2cd4f5aa Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Thu, 20 Apr 2023 14:18:03 +0200 Subject: [PATCH] Fix MSVC warning C4100 --- include/boost/charconv/detail/dragonbox.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/charconv/detail/dragonbox.hpp b/include/boost/charconv/detail/dragonbox.hpp index 404f828..e53ccd2 100644 --- a/include/boost/charconv/detail/dragonbox.hpp +++ b/include/boost/charconv/detail/dragonbox.hpp @@ -398,7 +398,7 @@ struct dragonbox_signed_significand_bits } template - 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::value && N == 2) {