diff options
author | Marc-André Laverdière <marc-andre@atc.tcs.com> | 2013-03-08 19:37:59 -0500 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-09 10:50:54 +0000 |
commit | c93643db82d9af2f9369b5daf6298f6b86510f14 (patch) | |
tree | a187b6d505397ece71051521be5b09fc625ea331 /unoidl/source | |
parent | 95184c4c45b69915cd78e10c7f0b6fcd1245d738 (diff) |
coverity#989730 and coverity#989729: Uninitialized scalar field
Change-Id: Iaecfa720b898746d457de731734b332226d3e9c2
Reviewed-on: https://gerrit.libreoffice.org/2607
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'unoidl/source')
-rw-r--r-- | unoidl/source/reg2unoidl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unoidl/source/reg2unoidl.cxx b/unoidl/source/reg2unoidl.cxx index 730d42efafe7..0f0b53ebfb3b 100644 --- a/unoidl/source/reg2unoidl.cxx +++ b/unoidl/source/reg2unoidl.cxx @@ -248,7 +248,7 @@ void writeKind( struct Item { explicit Item(rtl::Reference< unoidl::Entity > const & theEntity): - entity(theEntity) + entity(theEntity),nameOffset(0),dataOffset(0) {} rtl::Reference< unoidl::Entity > entity; @@ -258,7 +258,7 @@ struct Item { struct ConstItem { explicit ConstItem(unoidl::ConstantValue const & theConstant): - constant(theConstant) + constant(theConstant),nameOffset(0),dataOffset(0) {} unoidl::ConstantValue constant; |