diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-01 10:06:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-01 17:19:50 +0100 |
commit | f9274ebab5963a988f622d67c5506c1455b8b31d (patch) | |
tree | 3fd1349479aeb8cdb6a7fdb1e07060610138d736 /vcl | |
parent | 4bf3cb7668a80a1482962fd3dc3d4a3da1874455 (diff) |
coverity#708650 Uninitialized pointer field
Change-Id: I9a9205420c612795039b189662cab45cf0a85593
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/generic/app/i18n_ic.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/unx/generic/app/i18n_ic.cxx b/vcl/unx/generic/app/i18n_ic.cxx index 8c429d50ac39..1679306486b2 100644 --- a/vcl/unx/generic/app/i18n_ic.cxx +++ b/vcl/unx/generic/app/i18n_ic.cxx @@ -151,6 +151,14 @@ SalI18N_InputContext::SalI18N_InputContext ( SalFrame *pFrame ) : mnSupportedStatusStyle &= ~XIMStatusCallbacks; #endif + memset(&maPreeditStartCallback, 0, sizeof(maPreeditStartCallback)); + memset(&maPreeditDoneCallback, 0, sizeof(maPreeditDoneCallback)); + memset(&maPreeditDrawCallback, 0, sizeof(maPreeditDrawCallback)); + memset(&maPreeditCaretCallback, 0, sizeof(maPreeditCaretCallback)); + memset(&maCommitStringCallback, 0, sizeof(maCommitStringCallback)); + memset(&maSwitchIMCallback, 0, sizeof(maSwitchIMCallback)); + memset(&maDestroyCallback, 0, sizeof(maDestroyCallback)); + maClientData.aText.pUnicodeBuffer = NULL; maClientData.aText.pCharStyle = NULL; maClientData.aInputEv.mnTime = 0; |