Salome HOME
[test] Adding test on geometry for VoroGaus plugin
[modules/paravis.git] / src / Plugins / MEDReader / plugin / MEDReaderIO / vtkGroupsNames.cxx
index 3ba75301623bacdc2efb49920244aa796fa73889..dd6fddb8aa51735eac8150e463a9d341dc5e6f97 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-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
@@ -23,6 +23,7 @@
 #include "vtkMEDReader.h"
 #include "vtkUgSelectCellIds.h"
 #include "MEDFileFieldRepresentationTree.hxx"
+#include "vtkLongArray.h"
 #include "VTKMEDTraits.hxx"
 
 #include <vtkCellArray.h>
@@ -49,7 +50,7 @@ class vtkGroupsNamesInternal : public ExtractGroupInternal
 {
 };
 
-vtkStandardNewMacro(vtkGroupsNames);
+vtkStandardNewMacro(vtkGroupsNames)
 
 vtkGroupsNames::vtkGroupsNames():Internal(new ExtractGroupInternal)
 {
@@ -60,9 +61,9 @@ vtkGroupsNames::~vtkGroupsNames()
   delete this->Internal;
 }
 
-int vtkGroupsNames::RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
+int vtkGroupsNames::RequestInformation(vtkInformation * /*request*/, vtkInformationVector **inputVector, vtkInformationVector */*outputVector*/)
 {
-  vtkInformation *outInfo(outputVector->GetInformationObject(0));
+  //vtkInformation *outInfo(outputVector->GetInformationObject(0)); // todo: unused
   vtkInformation *inputInfo(inputVector[0]->GetInformationObject(0));
   if(!ExtractGroupInternal::IndependantIsInformationOK(vtkMEDReader::META_DATA(),inputInfo))
   {
@@ -97,7 +98,7 @@ int vtkGroupsNames::RequestData(vtkInformation *vtkNotUsed(request), vtkInformat
     vtkErrorMacro("vtkGroupsNames::RequestData : input is neither a DataSet nor a MultiblockDataSet !");
     return 0;
   }
-  vtkInformation *info(input->GetInformation());
+  //vtkInformation *info(input->GetInformation()); // todo: unused
   vtkInformation *outInfo(outputVector->GetInformationObject(0));
   vtkTable *output(vtkTable::SafeDownCast(outInfo->Get(vtkDataObject::DATA_OBJECT())));
   if(!output)