From d559b7c832099a8fd319bbbf09aaf2fb759afa84 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sat, 1 Aug 2020 14:09:58 -0400 Subject: [PATCH] work around warning in bundled boost MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit /jenkins/workspace/dealii_PR-10786/bundled/boost-1.70.0/include/boost/archive/iterators/istream_iterator.hpp:84:44: error: ‘.boost::archive::iterators::istream_iterator::m_current_value’ may be used uninitialized in this function [-Werror=maybe-uninitialized] --- .../include/boost/archive/iterators/istream_iterator.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bundled/boost-1.70.0/include/boost/archive/iterators/istream_iterator.hpp b/bundled/boost-1.70.0/include/boost/archive/iterators/istream_iterator.hpp index a187f605e6..4080c5f94c 100644 --- a/bundled/boost-1.70.0/include/boost/archive/iterators/istream_iterator.hpp +++ b/bundled/boost-1.70.0/include/boost/archive/iterators/istream_iterator.hpp @@ -69,7 +69,8 @@ class istream_iterator : Elem m_current_value; public: istream_iterator(istream_type & is) : - m_istream(& is) + m_istream(& is), + m_current_value() { //increment(); } -- 2.39.5