[Libreoffice-commits] .: extensions/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Dec 6 07:27:20 PST 2012


 extensions/source/plugin/unx/mediator.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b13abba277397464a2cde3604aaca780191e5d97
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Dec 6 16:26:52 2012 +0100

    -Werror,-Wsometimes-uninitialized
    
    Change-Id: I8996a06a19e7500b212acf863c44231214427f79

diff --git a/extensions/source/plugin/unx/mediator.cxx b/extensions/source/plugin/unx/mediator.cxx
index 9cb11fc..a4eea38 100644
--- a/extensions/source/plugin/unx/mediator.cxx
+++ b/extensions/source/plugin/unx/mediator.cxx
@@ -202,7 +202,7 @@ void MediatorListener::run()
         sal_uLong nHeader[ 3 ];
         int nBytes;
 
-        if( m_pMediator && ( nBytes = read( m_pMediator->m_nSocket, nHeader, sizeof( nHeader ) ) ) == sizeof( nHeader ) && nHeader[2] == MEDIATOR_MAGIC)
+        if( ( nBytes = read( m_pMediator->m_nSocket, nHeader, sizeof( nHeader ) ) ) == sizeof( nHeader ) && nHeader[2] == MEDIATOR_MAGIC)
         {
             if( nHeader[ 0 ] == 0 && nHeader[ 1 ] == 0 )
                 return;


More information about the Libreoffice-commits mailing list