From 9fd700da9949900a4d2b9f392959558e87c166ec Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Tue, 1 Sep 2026 20:35:32 +0200 Subject: [PATCH] cid#1700593: Unchecked return value from library Change-Id: I82c3ed257aae2147cae333cea4b0208a9917feaf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210368 Reviewed-by: Xisco Fauli Tested-by: Jenkins --- uui/source/iahndl-oauth2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uui/source/iahndl-oauth2.cxx b/uui/source/iahndl-oauth2.cxx index e22164ab2498..b7714702b5c0 100644 --- a/uui/source/iahndl-oauth2.cxx +++ b/uui/source/iahndl-oauth2.cxx @@ -288,7 +288,7 @@ void OAuth2Request::Impl::sendResponse(tcp::socket& socket, std::string_view bod // Wait for peer's FIN to avoid RST on close; timeout guards against a hung peer socket.set_option(net::detail::socket_option::integer(5000), ec); char buf[1]; - socket.read_some(net::buffer(buf), ec); + (void)socket.read_some(net::buffer(buf), ec); } void OAuth2Request::Impl::sendCloseResponse(tcp::socket& socket, std::u16string_view error) const