From: Jonathan Wakely Date: Fri, 16 Jun 2017 12:55:11 +0000 (+0100) Subject: Fix missing return in libstdc++ header X-Git-Tag: releases/gcc-5.5.0~208 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f8a20c8029d95218a2b8a67332e26cbb6d757ac;p=thirdparty%2Fgcc.git Fix missing return in libstdc++ header * include/bits/locale_conv.h (wbuffer_convert::_M_put): Add missing return statement. From-SVN: r249253 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f310288f7e55..61047cca1f24 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2017-06-16 Jonathan Wakely + + * include/bits/locale_conv.h (wbuffer_convert::_M_put): Add missing + return statement. + 2017-06-07 Jonathan Wakely PR libstdc++/81002 diff --git a/libstdc++-v3/include/bits/locale_conv.h b/libstdc++-v3/include/bits/locale_conv.h index 2b3f2dcbf417..7032d4f404a6 100644 --- a/libstdc++-v3/include/bits/locale_conv.h +++ b/libstdc++-v3/include/bits/locale_conv.h @@ -482,6 +482,7 @@ _GLIBCXX_END_NAMESPACE_CXX11 { if (_M_buf->sputn(__p, __n) < __n) return false; + return true; } // convert the put area and write to the byte stream buffer