svx/qa/unit/classicshapes.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6481fffb1e3aa0f4f75778bd354389a1d39a8f00
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Sat Feb 5 19:18:50 2022 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Sat Feb 5 21:41:39 2022 +0100

    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 <caol...@redhat.com>

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

Reply via email to