diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-11 12:35:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-11 14:33:33 +0000 |
commit | ea334ca0c99dfb79c4535197335f69278cd68cfc (patch) | |
tree | bd0e75528f45597b6b939acc9d47a8ef68b1ffb3 /include/i18nutil | |
parent | d3ef7f5e3fc2b650020c290386749422bfc07666 (diff) |
coverity#707928 Uninitialized scalar field
Change-Id: I14d95bc5aee9a79a7fd6f6f41d6a6b21fb2ebf97
Diffstat (limited to 'include/i18nutil')
-rw-r--r-- | include/i18nutil/casefolding.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/i18nutil/casefolding.hxx b/include/i18nutil/casefolding.hxx index 0bf28571cdb5..a63a15058f6a 100644 --- a/include/i18nutil/casefolding.hxx +++ b/include/i18nutil/casefolding.hxx @@ -58,7 +58,11 @@ struct Mapping struct MappingElement { - MappingElement() {element.nmap = current = 0;} + MappingElement() + : current(0) + { + element.type = element.nmap = 0; + } Mapping element; sal_Int8 current; }; |