From a6ad91d3e9c956338cf9daed9a3fad64bfcbdcb5 Mon Sep 17 00:00:00 2001 From: Muhammet Kara Date: Mon, 10 Feb 2020 01:06:17 +0300 Subject: cppcheck: redundantInitialization in XSheetCondition::testGetSetOperator() Change-Id: I0895478ec5bbb69cc8a7d88d848755aeabe7b51d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88350 Tested-by: Jenkins Reviewed-by: Muhammet Kara --- test/source/sheet/xsheetcondition.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/source/sheet/xsheetcondition.cxx b/test/source/sheet/xsheetcondition.cxx index 9093e8aea7fd..27068fec62ee 100644 --- a/test/source/sheet/xsheetcondition.cxx +++ b/test/source/sheet/xsheetcondition.cxx @@ -46,7 +46,7 @@ void XSheetCondition::testGetSetFormula2() void XSheetCondition::testGetSetOperator() { uno::Reference xSheetCondition(init(), UNO_QUERY_THROW); - sheet::ConditionOperator aOperator = sheet::ConditionOperator_NONE; + sheet::ConditionOperator aOperator; CPPUNIT_ASSERT_NO_THROW_MESSAGE("Unable to get Operator", aOperator = xSheetCondition->getOperator()); -- cgit v1.2.3