diff --git a/vtkm/worklet/testing/UnitTestBoundingIntervalHierarchy.cxx b/vtkm/worklet/testing/UnitTestBoundingIntervalHierarchy.cxx index cd32b09b3..f3c2431b7 100644 --- a/vtkm/worklet/testing/UnitTestBoundingIntervalHierarchy.cxx +++ b/vtkm/worklet/testing/UnitTestBoundingIntervalHierarchy.cxx @@ -49,7 +49,7 @@ struct BoundingIntervalHierarchyTester : public vtkm::worklet::WorkletMapField const vtkm::Id expectedId) const { vtkm::Vec3f parametric; - vtkm::Id cellId; + vtkm::Id cellId = -1; bih.FindCell(point, cellId, parametric); return (1 - static_cast(expectedId == cellId)); }