Skip to content
Snippets Groups Projects
Commit 6e9aaf8b authored by Dan Lipsa's avatar Dan Lipsa
Browse files

Fix unused parameters warning.

parent 2a40013d
No related branches found
No related tags found
No related merge requests found
......@@ -561,6 +561,9 @@ vtkSmartPointer<vtkCellArray> vtkConduitArrayUtilities::MCArrayToVTKCellArray(
vtkSmartPointer<vtkCellArray> vtkConduitArrayUtilities::MCArrayToVTKCellArray(
vtkIdType numberOfPoints, int cellType, vtkIdType cellSize, const conduit_node* mcarray));
#if VTK_MODULE_ENABLE_VTK_AcceleratorsVTKmDataModel
(void)cellType;
(void)cellSize;
(void)mcarray;
vtkLogF(ERROR, "This legacy function does not work when using vtkm accelerators");
return nullptr;
#else
......@@ -602,6 +605,8 @@ vtkSmartPointer<vtkCellArray> vtkConduitArrayUtilities::O2MRelationToVTKCellArra
vtkSmartPointer<vtkCellArray> vtkConduitArrayUtilities::O2MRelationToVTKCellArray(
vtkIdType numberOfPoints, const conduit_node* c_o2mrelation, const std::string& leafname));
#if VTK_MODULE_ENABLE_VTK_AcceleratorsVTKmDataModel
(void)c_o2mrelation;
(void)leafname;
vtkLogF(ERROR, "This legacy function does not work when using vtkm accelerators");
return nullptr;
#else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment