Commit 9b6c686c authored by Jason Shepherd's avatar Jason Shepherd
Browse files

fixing unused parameter warnings

parent 8035dc9f
......@@ -156,8 +156,7 @@ int vtkPolyDataAlgorithm::RequestUpdateExtent(
// an imaging style Execute method.
int vtkPolyDataAlgorithm::RequestData(
vtkInformation* request,
vtkInformationVector** inputVector,
// vtkInformationVector** vtkNotUsed( inputVector ),
vtkInformationVector** vtkNotUsed( inputVector ),
vtkInformationVector* outputVector)
{
// the default implimentation is to do what the old pipeline did find what
......
......@@ -41,9 +41,7 @@ void vtkReebGraphSimplificationMetric::PrintSelf(ostream& os, vtkIndent indent)
}
//----------------------------------------------------------------------------
double vtkReebGraphSimplificationMetric::ComputeMetric(
vtkDataSet *mesh, vtkDataArray *scalarField, vtkIdType startCriticalPoint,
vtkAbstractArray *vertexList, vtkIdType endCriticalPoint)
double vtkReebGraphSimplificationMetric::ComputeMetric(vtkDataSet* vtkNotUsed(mesh), vtkDataArray *scalarField, vtkIdType startCriticalPoint, vtkAbstractArray *vertexList, vtkIdType endCriticalPoint)
{
printf("too bad, wrong code\n");
return 0;
......
......@@ -53,8 +53,7 @@ int vtkAreaContourSpectrumFilter::FillInputPortInformation(
}
//----------------------------------------------------------------------------
int vtkAreaContourSpectrumFilter::FillOutputPortInformation(int portNumber,
vtkInformation *info)
int vtkAreaContourSpectrumFilter::FillOutputPortInformation(int vtkNotUsed(portNumber), vtkInformation *info)
{
info->Set(vtkDataObject::DATA_TYPE_NAME(), "vtkTable");
......
......@@ -34,8 +34,7 @@ vtkPolyDataToReebGraphFilter::~vtkPolyDataToReebGraphFilter()
}
//----------------------------------------------------------------------------
int vtkPolyDataToReebGraphFilter::FillInputPortInformation(
int portNumber, vtkInformation *info)
int vtkPolyDataToReebGraphFilter::FillInputPortInformation(int vtkNotUsed(portNumber), vtkInformation *info)
{
info->Remove(vtkAlgorithm::INPUT_REQUIRED_DATA_TYPE());
info->Append(vtkAlgorithm::INPUT_REQUIRED_DATA_TYPE(), "vtkPolyData");
......
......@@ -73,9 +73,7 @@ vtkReebGraph* vtkReebGraphSimplificationFilter::GetOutput()
}
//----------------------------------------------------------------------------
int vtkReebGraphSimplificationFilter::RequestData(
vtkInformation *request, vtkInformationVector **inputVector,
vtkInformationVector *outputVector)
int vtkReebGraphSimplificationFilter::RequestData( vtkInformation* vtkNotUsed(request), vtkInformationVector **inputVector, vtkInformationVector *outputVector)
{
vtkInformation* inInfo = inputVector[0]->GetInformationObject(0);
......
......@@ -53,8 +53,7 @@ int vtkReebGraphSurfaceSkeletonFilter::FillInputPortInformation(
}
//----------------------------------------------------------------------------
int vtkReebGraphSurfaceSkeletonFilter::FillOutputPortInformation(int portNumber,
vtkInformation *info)
int vtkReebGraphSurfaceSkeletonFilter::FillOutputPortInformation(int vtkNotUsed(portNumber), vtkInformation *info)
{
info->Set(vtkDataObject::DATA_TYPE_NAME(), "vtkTable");
......
......@@ -54,8 +54,7 @@ int vtkReebGraphVolumeSkeletonFilter::FillInputPortInformation(
}
//----------------------------------------------------------------------------
int vtkReebGraphVolumeSkeletonFilter::FillOutputPortInformation(int portNumber,
vtkInformation *info)
int vtkReebGraphVolumeSkeletonFilter::FillOutputPortInformation(int vtkNotUsed(portNumber), vtkInformation *info)
{
info->Set(vtkDataObject::DATA_TYPE_NAME(), "vtkTable");
......
......@@ -34,8 +34,7 @@ vtkUnstructuredGridToReebGraphFilter::~vtkUnstructuredGridToReebGraphFilter()
}
//----------------------------------------------------------------------------
int vtkUnstructuredGridToReebGraphFilter::FillInputPortInformation(
int portNumber, vtkInformation *info)
int vtkUnstructuredGridToReebGraphFilter::FillInputPortInformation( int vtkNotUsed(portNumber), vtkInformation *info)
{
info->Remove(vtkAlgorithm::INPUT_REQUIRED_DATA_TYPE());
info->Append(vtkAlgorithm::INPUT_REQUIRED_DATA_TYPE(), "vtkUnstructuredGrid");
......
......@@ -54,8 +54,7 @@ int vtkVolumeContourSpectrumFilter::FillInputPortInformation(
}
//----------------------------------------------------------------------------
int vtkVolumeContourSpectrumFilter::FillOutputPortInformation(int portNumber,
vtkInformation *info)
int vtkVolumeContourSpectrumFilter::FillOutputPortInformation(int vtkNotUsed(portNumber), vtkInformation *info)
{
info->Set(vtkDataObject::DATA_TYPE_NAME(), "vtkTable");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment