coverity#707928 Uninitialized scalar field

Change-Id: I14d95bc5aee9a79a7fd6f6f41d6a6b21fb2ebf97
This commit is contained in:
Caolán McNamara 2014-02-11 12:35:13 +00:00
parent d3ef7f5e3f
commit ea334ca0c9

View file

@ -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;
};