summaryrefslogtreecommitdiff
path: root/io/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-07 13:06:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-07 13:06:22 +0200
commitaea456a37445f402f1fb3eb1415ca6af7046cf1e (patch)
tree04c8dd6ba95229127f2ef9355f533531dcad5bba /io/source
parente821558b2e233a9c04712555a6bdcb5020c1209f (diff)
clean up
Change-Id: Ibf0df59d2773a3356b21e1b4c70889511b373e56
Diffstat (limited to 'io/source')
-rw-r--r--io/source/acceptor/acc_socket.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/io/source/acceptor/acc_socket.cxx b/io/source/acceptor/acc_socket.cxx
index b1a30a15a82f..0a1edc597af7 100644
--- a/io/source/acceptor/acc_socket.cxx
+++ b/io/source/acceptor/acc_socket.cxx
@@ -203,8 +203,8 @@ namespace io_acceptor {
aReadBytes.realloc( nBytesToRead );
}
- sal_Int32 i = 0;
- i = m_socket.read( aReadBytes.getArray() , aReadBytes.getLength() );
+ sal_Int32 i = m_socket.read(
+ aReadBytes.getArray(), aReadBytes.getLength());
if(i != nBytesToRead)
{