diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-06-18 15:05:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-06-20 08:32:20 +0200 |
commit | 1b7a4ea1d59c9f5cb9d5312d362c1d4decb19e02 (patch) | |
tree | 70f03d3ee773f21303e8107f25a210de869a28a7 /test/source | |
parent | 39ffe421047e69554e601cedf0fde931ccc18ca7 (diff) |
-Werror=maybe-uninitialized
Change-Id: I640fbd373262c008c44b616fbc0c05d28778226d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136083
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'test/source')
-rw-r--r-- | test/source/unoapi_property_testers.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/source/unoapi_property_testers.cxx b/test/source/unoapi_property_testers.cxx index f261c4ce3736..c0987d8c0ff8 100644 --- a/test/source/unoapi_property_testers.cxx +++ b/test/source/unoapi_property_testers.cxx @@ -74,7 +74,7 @@ void testDoubleProperty(uno::Reference<beans::XPropertySet> const& xPropertySet, uno::Any aNewValue; double dPropertyGet; - double dPropertySet; + double dPropertySet = {}; OString msgGet = "Unable to get PropertyValue: " + OUStringToOString(name, RTL_TEXTENCODING_UTF8); @@ -93,8 +93,8 @@ void testDoubleReadonlyProperty(uno::Reference<beans::XPropertySet> const& xProp { uno::Any aNewValue; - double dPropertyGet; - double dPropertySet; + double dPropertyGet = {}; + double dPropertySet = {}; OString msgGet = "Unable to get PropertyValue: " + OUStringToOString(name, RTL_TEXTENCODING_UTF8); |