[Libreoffice-commits] core.git: unoidl/source
Marc-André Laverdière
marc-andre at atc.tcs.com
Sat Mar 9 02:51:14 PST 2013
unoidl/source/reg2unoidl.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c93643db82d9af2f9369b5daf6298f6b86510f14
Author: Marc-André Laverdière <marc-andre at atc.tcs.com>
Date: Fri Mar 8 19:37:59 2013 -0500
coverity#989730 and coverity#989729: Uninitialized scalar field
Change-Id: Iaecfa720b898746d457de731734b332226d3e9c2
Reviewed-on: https://gerrit.libreoffice.org/2607
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/unoidl/source/reg2unoidl.cxx b/unoidl/source/reg2unoidl.cxx
index 730d42e..0f0b53e 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;
More information about the Libreoffice-commits
mailing list