mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 10:35:42 +00:00
Fix unreferenced local variable warning
This commit is contained in:
parent
48059d0de3
commit
a51cc2e153
@ -77,7 +77,7 @@ int TestAbort()
|
|||||||
result.GetNumberOfCells(),
|
result.GetNumberOfCells(),
|
||||||
" triangles");
|
" triangles");
|
||||||
}
|
}
|
||||||
catch (const vtkm::cont::ErrorUserAbort& e)
|
catch (const vtkm::cont::ErrorUserAbort&)
|
||||||
{
|
{
|
||||||
std::cout << "Execution was successfully aborted\n";
|
std::cout << "Execution was successfully aborted\n";
|
||||||
}
|
}
|
||||||
@ -90,7 +90,7 @@ int TestAbort()
|
|||||||
std::cout << "Success: filter execution was not aborted. Result: " << result.GetNumberOfPoints()
|
std::cout << "Success: filter execution was not aborted. Result: " << result.GetNumberOfPoints()
|
||||||
<< " points and " << result.GetNumberOfCells() << " triangles\n";
|
<< " points and " << result.GetNumberOfCells() << " triangles\n";
|
||||||
}
|
}
|
||||||
catch (const vtkm::cont::ErrorUserAbort& e)
|
catch (const vtkm::cont::ErrorUserAbort&)
|
||||||
{
|
{
|
||||||
VTKM_TEST_FAIL("Execution was unexpectedly aborted");
|
VTKM_TEST_FAIL("Execution was unexpectedly aborted");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user