mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-05 01:49:02 +00:00
Fix warning about return value
This commit is contained in:
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{};
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user