Commit f848bc35 authored by Robert Maynard's avatar Robert Maynard

Correct warnings from switch statements with no case labels.

parent 90bca8a5
......@@ -133,6 +133,8 @@ const MeshConnectivityBase* UnstructuredContainer::Construct(
}
return Handle.PrepareForExecution(CUDA());
#endif
case VTKM_DEVICE_ADAPTER_SERIAL:
VTKM_FALLTHROUGH;
default:
using SERIAL = vtkm::cont::DeviceAdapterTagSerial;
{
......@@ -242,6 +244,8 @@ const MeshConnectivityBase* UnstructuredSingleContainer::Construct(
}
return Handle.PrepareForExecution(CUDA());
#endif
case VTKM_DEVICE_ADAPTER_SERIAL:
VTKM_FALLTHROUGH;
default:
using SERIAL = vtkm::cont::DeviceAdapterTagSerial;
{
......@@ -294,6 +298,8 @@ const MeshConnectivityBase* StructuredContainer::Construct(
case VTKM_DEVICE_ADAPTER_CUDA:
return Handle.PrepareForExecution(vtkm::cont::DeviceAdapterTagCuda());
#endif
case VTKM_DEVICE_ADAPTER_SERIAL:
VTKM_FALLTHROUGH;
default:
return Handle.PrepareForExecution(vtkm::cont::DeviceAdapterTagSerial());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment