diff options
author | David Tardon <dtardon@redhat.com> | 2014-04-19 19:34:00 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-04-19 22:30:19 +0200 |
commit | bb27930f0e53a422e63a2ac9ffa73823f4dfbc74 (patch) | |
tree | b3518bc4a29923d5881d8ec8a2cb4ba829fcfa66 /vcl/unx | |
parent | caa5c53e7d8725b15725c4ad0f5073463693a45f (diff) |
coverity#738940 Uninitialized pointer field
Change-Id: I467c9ad530b376fd2a23110e4ff157ad03d23d57
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/app/saldisp.cxx | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx index d96fd205fd41..d7231e07fd87 100644 --- a/vcl/unx/generic/app/saldisp.cxx +++ b/vcl/unx/generic/app/saldisp.cxx @@ -238,10 +238,22 @@ bool SalDisplay::BestVisual( Display *pDisplay, } SalDisplay::SalDisplay( Display *display ) : + pXLib_( NULL ), mpInputMethod( NULL ), + mpKbdExtension( NULL ), + mpFactory( NULL ), pDisp_( display ), m_nXDefaultScreen( 0 ), + nMaxRequestSize_( 0 ), + meServerVendor( vendor_unknown ), + bNumLockFromXS_( false ), + nNumLockIndex_( 0 ), + nNumLockMask_( 0 ), + nShiftKeySym_( 0 ), + nCtrlKeySym_( 0 ), + nMod1KeySym_( 0 ), m_pWMAdaptor( NULL ), + m_bXinerama( false ), m_bUseRandRWrapper( true ), m_nLastUserEventTime( CurrentTime ) { @@ -250,7 +262,6 @@ SalDisplay::SalDisplay( Display *display ) : #endif SalGenericData *pData = GetGenericData(); - pXLib_ = NULL; DBG_ASSERT( ! pData->GetDisplay(), "Second SalDisplay created !!!\n" ); pData->SetDisplay( this ); |