From: Wolfgang Bangerth Date: Mon, 12 Jul 2021 18:54:52 +0000 (-0600) Subject: Avoid a warning about an unused variable in BOOST. X-Git-Tag: v9.4.0-rc1~1151^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12566%2Fhead;p=dealii.git Avoid a warning about an unused variable in BOOST. --- diff --git a/bundled/boost-1.70.0/include/boost/archive/iterators/wchar_from_mb.hpp b/bundled/boost-1.70.0/include/boost/archive/iterators/wchar_from_mb.hpp index 2af8f6401f..d73c35e107 100644 --- a/bundled/boost-1.70.0/include/boost/archive/iterators/wchar_from_mb.hpp +++ b/bundled/boost-1.70.0/include/boost/archive/iterators/wchar_from_mb.hpp @@ -174,6 +174,7 @@ void wchar_from_mb::drain(){ m_output.m_buffer.end(), next_available ); + (void)r; BOOST_ASSERT(std::codecvt_base::ok == r); m_output.m_next_available = next_available; m_output.m_next = m_output.m_buffer.begin();