]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix missing return in libstdc++ header
authorJonathan Wakely <jwakely@redhat.com>
Fri, 16 Jun 2017 12:55:11 +0000 (13:55 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 16 Jun 2017 12:55:11 +0000 (13:55 +0100)
* include/bits/locale_conv.h (wbuffer_convert::_M_put): Add missing
return statement.

From-SVN: r249253

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_conv.h

index f310288f7e55f4d5bf1a239f2851f1b1404d6541..61047cca1f24bfeaf4a727ab530d0aefbb39965e 100644 (file)
@@ -1,3 +1,8 @@
+2017-06-16  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/locale_conv.h (wbuffer_convert::_M_put): Add missing
+       return statement.
+
 2017-06-07  Jonathan Wakely  <jwakely@redhat.com>
 
        PR libstdc++/81002
index 2b3f2dcbf417239b15cf1684ce69c0568a847679..7032d4f404a6b963e23a731e427e5050b8a084a3 100644 (file)
@@ -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