From: Timo Heister Date: Sat, 1 Aug 2020 18:09:58 +0000 (-0400) Subject: work around warning in bundled boost X-Git-Tag: v9.3.0-rc1~1157^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d559b7c832099a8fd319bbbf09aaf2fb759afa84;p=dealii.git work around warning in bundled boost /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] --- 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(); }