Fix warning about return value

This commit is contained in:
Kenneth Moreland 2020-09-14 15:04:03 -06:00
parent 9465d26110
commit c6a4f9b79c

@ -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{};
}
//---------------------------------------------------------------------------