de-fuzz: fix 2 more gcc warnings

This commit is contained in:
jzmaddock
2017-02-24 11:48:27 +00:00
parent 93926479e3
commit 1acbd42eb8
3 changed files with 6 additions and 3 deletions

View File

@ -117,7 +117,10 @@ inline unsigned utf8_trailing_byte_count(boost::uint8_t c)
#pragma warning(push)
#pragma warning(disable:4100)
#endif
BOOST_NORETURN inline void invalid_utf32_code_point(::boost::uint32_t val)
#ifndef BOOST_NO_EXCEPTIONS
BOOST_NORETURN
#endif
inline void invalid_utf32_code_point(::boost::uint32_t val)
{
#ifndef BOOST_NO_STD_LOCALE
std::stringstream ss;