From fd5c2dadd3c46257df3e3e99932a6efecf24567f Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 12 Jul 2021 12:54:52 -0600 Subject: [PATCH] Avoid a warning about an unused variable in BOOST. --- .../include/boost/archive/iterators/wchar_from_mb.hpp | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.39.5