diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-19 14:14:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-19 15:37:58 +0000 |
commit | 011f1e6c90a1fb50d73493b931b73559388826e8 (patch) | |
tree | 9fd0929591492664a96f2c41f1c392921667dec4 /include | |
parent | 9891fcf7c8e88261a5b85b65a7f1f7705a3a26b9 (diff) |
coverity#708192 Uninitialized pointer field
Change-Id: Iaccc034f61442242ce1b864457f0d048cdeae98d
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/asynclink.hxx | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/include/svtools/asynclink.hxx b/include/svtools/asynclink.hxx index af10d737bbfe..1428cd564133 100644 --- a/include/svtools/asynclink.hxx +++ b/include/svtools/asynclink.hxx @@ -43,11 +43,23 @@ class SVT_DLLPUBLIC AsynchronLink SVT_DLLPRIVATE void Call_Impl( void* pArg ); public: - AsynchronLink( const Link& rLink ) : - _aLink( rLink ), _nEventId( 0 ), _pTimer( 0 ), _bInCall( sal_False ), - _pDeleted( 0 ), _pMutex( 0 ){} - AsynchronLink() : _nEventId( 0 ), _pTimer( 0 ), _bInCall( sal_False ), - _pDeleted( 0 ), _pMutex( 0 ){} + AsynchronLink( const Link& rLink ) + : _aLink( rLink ) + , _nEventId( 0 ) + , _pTimer( 0 ) + , _bInCall( sal_False ) + , _pDeleted( 0 ) + , _pArg( 0 ) + , _pMutex( 0 ) + {} + AsynchronLink() + : _nEventId( 0 ) + , _pTimer( 0 ) + , _bInCall( sal_False ) + , _pDeleted( 0 ) + , _pArg( 0 ) + , _pMutex( 0 ) + {} ~AsynchronLink(); void CreateMutex(); |