From ea334ca0c99dfb79c4535197335f69278cd68cfc Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 11 Feb 2014 12:35:13 +0000 Subject: coverity#707928 Uninitialized scalar field Change-Id: I14d95bc5aee9a79a7fd6f6f41d6a6b21fb2ebf97 --- include/i18nutil/casefolding.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/i18nutil') 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; }; -- cgit