[Libreoffice-commits] core.git: io/source

Stephan Bergmann sbergman at redhat.com
Thu Apr 7 11:06:50 UTC 2016


 io/source/acceptor/acc_socket.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit aea456a37445f402f1fb3eb1415ca6af7046cf1e
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Apr 7 13:06:22 2016 +0200

    clean up
    
    Change-Id: Ibf0df59d2773a3356b21e1b4c70889511b373e56

diff --git a/io/source/acceptor/acc_socket.cxx b/io/source/acceptor/acc_socket.cxx
index b1a30a1..0a1edc5 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)
             {


More information about the Libreoffice-commits mailing list