Fix unreferenced local variable warning

This commit is contained in:
Sujin Philip 2023-02-13 13:29:26 -05:00
parent 48059d0de3
commit a51cc2e153

@ -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");
}