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

New commits:
commit bf65f821b41ae9805d06f19aeecd554c159aa1cd
Author:     Caolán McNamara <[email protected]>
AuthorDate: Sat Feb 5 19:18:50 2022 +0000
Commit:     Michael Stahl <[email protected]>
CommitDate: Mon Feb 7 15:06:47 2022 +0100

    WaE: angle[1|2] may be used uninitialized [-Wmaybe-uninitialized]
    
    Change-Id: If8771e4c73656d6f6d236d2d530d0ec92c1f5a7e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129534
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <[email protected]>

diff --git a/svx/qa/unit/classicshapes.cxx b/svx/qa/unit/classicshapes.cxx
index d9e0fc18c7c1..b812732f8f35 100644
--- a/svx/qa/unit/classicshapes.cxx
+++ b/svx/qa/unit/classicshapes.cxx
@@ -198,7 +198,7 @@ CPPUNIT_TEST_FIXTURE(ClassicshapesTest, testTdf130076Flip)
 
     for (sal_uInt8 nPageIndex = 0; nPageIndex < 2; ++nPageIndex)
     {
-        sal_Int32 angle1, angle2;
+        sal_Int32 angle1(0), angle2(0);
         const sal_Int32 goodAngle1 = 26000;
         const sal_Int32 goodAngle2 = 26000;
         uno::Reference<drawing::XShape> xShape(getShape(1, nPageIndex));

Reply via email to