Add missing return
* include/experimental/socket (basic_socket::at_mark): Add missing return. From-SVN: r265199
This commit is contained in:
parent
5ae2c32a8a
commit
345fba60b1
|
@ -1,5 +1,8 @@
|
|||
2018-10-16 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/experimental/socket (basic_socket::at_mark): Add missing
|
||||
return.
|
||||
|
||||
* acinclude.m4 (GLIBCXX_CHECK_RANDOM_TR1): Replace with ...
|
||||
(GLIBCXX_CHECK_DEV_RANDOM): New macro with more descriptive name.
|
||||
Define _GLIBCXX_USE_DEV_RANDOM as well as _GLIBCXX_USE_RANDOM_TR1.
|
||||
|
|
|
@ -756,12 +756,12 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
|||
{
|
||||
const int __result = ::sockatmark(native_handle());
|
||||
if (__result == -1)
|
||||
__ec.assign(errno, generic_category());
|
||||
else
|
||||
{
|
||||
__ec.clear();
|
||||
return __result;
|
||||
__ec.assign(errno, generic_category());
|
||||
return false;
|
||||
}
|
||||
__ec.clear();
|
||||
return (bool)__result;
|
||||
}
|
||||
|
||||
size_t
|
||||
|
|
Loading…
Reference in New Issue