Commit c6a4f9b7 authored by Kenneth Moreland's avatar Kenneth Moreland

Fix warning about return value

parent 9465d261
......@@ -361,6 +361,8 @@ vtkm::Vec3f_32 ColorTable::MapThroughColorSpace(const vtkm::Vec3f_32& rgb1,
case vtkm::ColorSpace::Diverging:
return this->MapThroughColorSpaceDiverging(rgb1, rgb2, weight);
// Should not get here, but some compilers give a warning if this is not here.
return vtkm::Vec3f_32{};
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