Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nickolas Davis
VTK-m
Commits
c6a4f9b7
Commit
c6a4f9b7
authored
Sep 14, 2020
by
Kenneth Moreland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warning about return value
parent
9465d261
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vtkm/exec/ColorTable.hxx
vtkm/exec/ColorTable.hxx
+2
-0
No files found.
vtkm/exec/ColorTable.hxx
View file @
c6a4f9b7
...
...
@@ -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
{};
}
//---------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment