diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-12-06 16:26:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-12-06 16:26:52 +0100 |
commit | b13abba277397464a2cde3604aaca780191e5d97 (patch) | |
tree | 64506f256b9742f26168e6c6fa905ce00dfa8eb6 /extensions/source | |
parent | 4b90e055067a829f504b53d59aadc2e97138a79b (diff) |
-Werror,-Wsometimes-uninitialized
Change-Id: I8996a06a19e7500b212acf863c44231214427f79
Diffstat (limited to 'extensions/source')
-rw-r--r-- | extensions/source/plugin/unx/mediator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/plugin/unx/mediator.cxx b/extensions/source/plugin/unx/mediator.cxx index 9cb11fcd576d..a4eea38df1b1 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; |