Salome HOME
Copyright update 2021
[modules/paravis.git] / src / Plugins / DifferenceTimesteps / plugin / DifferenceTimestepsModule / vtkDifferenceTimestepsFilter.cxx
index 6953fbbd9fe5fbb332a727a66d2ad5c1f6426cd5..b6d90806c34e8a17cba4b8500e4d6c42c986a0b8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -53,7 +53,7 @@ vtkDataArray* DataTempDiffArray(
 
 // Templated difference function
 template <class T>
-void vtkTemporalDataDifference(vtkDifferenceTimestepsFilter* theDTF, vtkDataArray* theOutput,
+void vtkTemporalDataDifference(vtkDifferenceTimestepsFilter* /*theDTF*/, vtkDataArray* theOutput,
   vtkDataArray** theArrays, vtkIdType theNumComp, T*)
 {
   T* anOutputData = static_cast<T*>(theOutput->GetVoidPointer(0));
@@ -79,7 +79,7 @@ void vtkTemporalDataDifference(vtkDifferenceTimestepsFilter* theDTF, vtkDataArra
   theOutput->SetNumberOfTuples(N);
 }
 
-vtkStandardNewMacro(vtkDifferenceTimestepsFilter);
+vtkStandardNewMacro(vtkDifferenceTimestepsFilter)
 
 //--------------------------------------------------------------------------------------------------
 vtkDifferenceTimestepsFilter::vtkDifferenceTimestepsFilter()
@@ -171,11 +171,11 @@ int vtkDifferenceTimestepsFilter::RequestDataObject(vtkInformation* vtkNotUsed(t
 
 //--------------------------------------------------------------------------------------------------
 int vtkDifferenceTimestepsFilter::RequestInformation(vtkInformation* vtkNotUsed(theRequest),
-  vtkInformationVector** theInputVector, vtkInformationVector* theOutputVector)
+  vtkInformationVector** theInputVector, vtkInformationVector* /*theOutputVector*/)
 {
   // Get input and output information objects
   vtkInformation* anInInfo = theInputVector[0]->GetInformationObject(0);
-  vtkInformation* anOutInfo = theOutputVector->GetInformationObject(0);
+  //vtkInformation* anOutInfo = theOutputVector->GetInformationObject(0); // todo: unused
 
   // Check for presence more than one time step
   if (anInInfo->Has(vtkStreamingDemandDrivenPipeline::TIME_STEPS()))
@@ -227,7 +227,7 @@ int vtkDifferenceTimestepsFilter::RequestInformation(vtkInformation* vtkNotUsed(
 }
 
 //--------------------------------------------------------------------------------------------------
-int vtkDifferenceTimestepsFilter::RequestUpdateExtent(vtkInformation* theRequest,
+int vtkDifferenceTimestepsFilter::RequestUpdateExtent(vtkInformation* /*theRequest*/,
   vtkInformationVector** theInputVector, vtkInformationVector* theOutputVector)
 {
   // Get the information objects