diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-26 15:36:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-26 19:02:46 +0100 |
commit | 506bf3bc3f65834c1f69d7d5ea38221e67b00346 (patch) | |
tree | b0a01dcfc3d505154e761d7c327c9ca4cca916c3 /vcl/unx | |
parent | 32cd12c8a7e9ddf3d7b3833f70051cdd01ceb911 (diff) |
coverity#708651 Uninitialized pointer field
Change-Id: If2c5d406994902839c4c81a947fc46a06056fe90
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/app/i18n_im.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/vcl/unx/generic/app/i18n_im.cxx b/vcl/unx/generic/app/i18n_im.cxx index acbca6909e51..752241659998 100644 --- a/vcl/unx/generic/app/i18n_im.cxx +++ b/vcl/unx/generic/app/i18n_im.cxx @@ -245,10 +245,13 @@ SalI18N_InputMethod::PosixLocale() // Constructor / Destructor / Initialisation -SalI18N_InputMethod::SalI18N_InputMethod( ) : mbUseable( bUseInputMethodDefault ), - maMethod( (XIM)NULL ), - mpStyles( (XIMStyles*)NULL ) +SalI18N_InputMethod::SalI18N_InputMethod( ) + : mbUseable( bUseInputMethodDefault ) + , maMethod( (XIM)NULL ) + , mpStyles( (XIMStyles*)NULL ) { + maDestroyCallback.callback = (XIMProc)NULL; + maDestroyCallback.client_data = (XPointer)NULL; const char *pUseInputMethod = getenv( "SAL_USEINPUTMETHOD" ); if ( pUseInputMethod != NULL ) mbUseable = pUseInputMethod[0] != '\0' ; |