summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-21 20:30:38 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-22 09:36:39 +0200
commit2d4cba825b217e4361551b8551cdaf9bc5ef7ca0 (patch)
treebab81325e31fc47073063e3aedaa1be9bc6ea4aa /sd/source
parentdf15c207fb583178b5f2beac4580b5906645237b (diff)
cid#1608175 Structurally dead code
trivial, no real change here Change-Id: I0e93412c930d60d94a9e9406579226026f449897 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172222 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/remotecontrol/Server.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/remotecontrol/Server.cxx b/sd/source/ui/remotecontrol/Server.cxx
index aec4fb1be445..12c494121e9e 100644
--- a/sd/source/ui/remotecontrol/Server.cxx
+++ b/sd/source/ui/remotecontrol/Server.cxx
@@ -97,8 +97,7 @@ void IPRemoteServer::execute()
if ( mSocket.acceptConnection( aSocket ) == osl_Socket_Error )
{
SAL_WARN( "sdremote", "accept failed" << mSocket.getErrorAsString() );
- spServer = nullptr;
- return; // Closed, or other issue.
+ break; // Closed, or other issue.
}
BufferedStreamSocket *pSocket = new BufferedStreamSocket( aSocket);
handleAcceptedConnection( pSocket );