diff --git a/Modules/Core/Transform/test/itkRigid3DPerspectiveTransformTest.cxx b/Modules/Core/Transform/test/itkRigid3DPerspectiveTransformTest.cxx index 6a2bfe713dd..4b6d18182da 100644 --- a/Modules/Core/Transform/test/itkRigid3DPerspectiveTransformTest.cxx +++ b/Modules/Core/Transform/test/itkRigid3DPerspectiveTransformTest.cxx @@ -72,9 +72,7 @@ itkRigid3DPerspectiveTransformTest(int, char *[]) ITK_TEST_SET_GET_VALUE(centerOfRotation, transform->GetCenterOfRotation()); // This transform has no fixed parameters; empty method body; called for coverage purposes - typename TransformType::FixedParametersType::ValueType fixedParametersValues = 0; - typename TransformType::FixedParametersType fixedParameters; - fixedParameters.Fill(fixedParametersValues); + const typename TransformType::FixedParametersType fixedParameters{}; transform->SetFixedParameters(fixedParameters); }