From 6481fffb1e3aa0f4f75778bd354389a1d39a8f00 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 5 Feb 2022 19:18:50 +0000 Subject: WaE: angle[1|2] may be used uninitialized [-Wmaybe-uninitialized] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If8771e4c73656d6f6d236d2d530d0ec92c1f5a7e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129533 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- svx/qa/unit/classicshapes.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/qa') 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 xShape(getShape(1, nPageIndex)); uno::Reference xShapeProps(xShape, uno::UNO_QUERY); uno::Reference xShape2(getShape(2, nPageIndex)); -- cgit