diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-02-05 19:18:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-02-05 21:41:39 +0100 |
commit | 6481fffb1e3aa0f4f75778bd354389a1d39a8f00 (patch) | |
tree | 237b810371bd1091aaa028af9f16d13b68013b65 /svx/qa | |
parent | a7bc3bd919749ff269cc4c7cd19db0def6e466b2 (diff) |
WaE: angle[1|2] may be used uninitialized [-Wmaybe-uninitialized]
Change-Id: If8771e4c73656d6f6d236d2d530d0ec92c1f5a7e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129533
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/qa')
-rw-r--r-- | svx/qa/unit/classicshapes.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/qa/unit/classicshapes.cxx b/svx/qa/unit/classicshapes.cxx index 0ef0722875a3..bb5bea7458c7 100644 --- a/svx/qa/unit/classicshapes.cxx +++ b/svx/qa/unit/classicshapes.cxx @@ -188,7 +188,7 @@ CPPUNIT_TEST_FIXTURE(ClassicshapesTest, testTdf130076Flip) for (sal_uInt8 nPageIndex = 0; nPageIndex < 2; ++nPageIndex) { - double nAngle1, nAngle2; + double nAngle1(0.0), nAngle2(0.0); uno::Reference<drawing::XShape> xShape(getShape(1, nPageIndex)); uno::Reference<beans::XPropertySet> xShapeProps(xShape, uno::UNO_QUERY); uno::Reference<drawing::XShape> xShape2(getShape(2, nPageIndex)); |