mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Merge topic 'fix-UnitTestAbort-warning'
a51cc2e15 Fix unreferenced local variable warning Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kenneth Moreland <morelandkd@ornl.gov> Merge-request: !2984
This commit is contained in:
commit
ec73ec36ee
@ -77,7 +77,7 @@ int TestAbort()
|
||||
result.GetNumberOfCells(),
|
||||
" triangles");
|
||||
}
|
||||
catch (const vtkm::cont::ErrorUserAbort& e)
|
||||
catch (const vtkm::cont::ErrorUserAbort&)
|
||||
{
|
||||
std::cout << "Execution was successfully aborted\n";
|
||||
}
|
||||
@ -90,7 +90,7 @@ int TestAbort()
|
||||
std::cout << "Success: filter execution was not aborted. Result: " << result.GetNumberOfPoints()
|
||||
<< " points and " << result.GetNumberOfCells() << " triangles\n";
|
||||
}
|
||||
catch (const vtkm::cont::ErrorUserAbort& e)
|
||||
catch (const vtkm::cont::ErrorUserAbort&)
|
||||
{
|
||||
VTKM_TEST_FAIL("Execution was unexpectedly aborted");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user