-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>
This commit is contained in:
Stephan Bergmann 2022-06-18 15:05:52 +02:00
parent 39ffe42104
commit 1b7a4ea1d5

View file

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