Commit c43a7b0b authored by Dave Demarle's avatar Dave Demarle
Browse files

COMP: Fix unused argument warning

parent fc4d9d46
......@@ -84,7 +84,7 @@
#define USE_IMAGE_DATA // otherwise uniformgrid
vtkStandardNewMacro(vtkXdmfReader);
vtkCxxRevisionMacro(vtkXdmfReader, "1.25");
vtkCxxRevisionMacro(vtkXdmfReader, "1.26");
vtkCxxSetObjectMacro(vtkXdmfReader,Controller,vtkMultiProcessController);
......@@ -1483,7 +1483,7 @@ int vtkXdmfReaderInternal::RequestSingleGridData(
int vtkXdmfReaderInternal::RequestActualGridInformation(
vtkXdmfReaderActualGrid* currentActualGrid,
int outputGrid,
int numberOfGrids,
int vtkNotUsed(numberOfGrids),
vtkInformationVector* outputVector)
{
// Handle single grid
......@@ -2645,7 +2645,7 @@ void vtkXdmfReader::UpdateUniformGrid(void *GridNode, char * CollectionName)
vtkDebugMacro( << "Reading Light Data for " << gridName );
XdmfConstString levelName = this->DOM->Get((XdmfXmlNode) GridNode, "Level" );
vtkXdmfReaderGrid* grid = this->Internals->GetXdmfGrid(gridName, CollectionName,levelName); //leaks the collection this creates
vtkXdmfReaderGrid* grid = this->Internals->GetXdmfGrid(gridName, CollectionName,levelName);
if ( !grid )
{
// Error happened
......
Supports Markdown
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