diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-07 15:28:30 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-07 15:43:47 +0200 |
commit | d638ad81f8063fdf0a2133f935f2d2dfccc3db79 (patch) | |
tree | 9205f7d16be03e238067f448f59f4e8e09971f64 /vcl/workben | |
parent | bd60974b0a420e02fe21dbee2e50623191d0cbb1 (diff) |
clang-analyzer-deadcode.DeadStores
Change-Id: I9570057473f844c55b88d38f24f8156ea7c6c90c
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/svpclient.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/workben/svpclient.cxx b/vcl/workben/svpclient.cxx index 85ece06149c3..ee22e6062336 100644 --- a/vcl/workben/svpclient.cxx +++ b/vcl/workben/svpclient.cxx @@ -214,9 +214,8 @@ OString MyWin::processCommand( const OString& rCommand ) else { ssize_t nBytes = 0; - nBytes = write( nSocket, rCommand.getStr(), rCommand.getLength() ); - nBytes = write( nSocket, "\n", 1 ); - nBytes = 0; + write( nSocket, rCommand.getStr(), rCommand.getLength() ); + write( nSocket, "\n", 1 ); char buf[256]; do { |