summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-14 16:41:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-15 11:02:53 +0200
commit4c4d9a482b93440fd3388ffa1715e66d1f391fea (patch)
treedc599ac00d6ca5c3288e4e7053c02c0d62902346 /vcl/workben
parent256480b8b80769149652bb62f401672ee8fafe1f (diff)
loplugin:sequentialassign in vcl
Change-Id: I530b81b3258a6e1c1456da53bfe1285f14aee712 Reviewed-on: https://gerrit.libreoffice.org/70734 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/svpclient.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/workben/svpclient.cxx b/vcl/workben/svpclient.cxx
index eb2fa77e3240..1b78996642e7 100644
--- a/vcl/workben/svpclient.cxx
+++ b/vcl/workben/svpclient.cxx
@@ -208,8 +208,7 @@ OString MyWin::processCommand( const OString& rCommand )
else
{
ssize_t nBytes = 0;
- ssize_t fd = 0;
- fd = write( nSocket, rCommand.getStr(), rCommand.getLength() );
+ ssize_t fd = write( nSocket, rCommand.getStr(), rCommand.getLength() );
if (fd == 0)
SAL_WARN("vcl", "Connection closed on other end");