Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Todd Kordenbrock
VTK-m
Commits
0c36aef5
Commit
0c36aef5
authored
Mar 31, 2016
by
Robert Maynard
Browse files
Fix warnings about unreachable break statement in CellInterpolate.
parent
ec1e1a3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
vtkm/exec/CellInterpolate.h
View file @
0c36aef5
...
...
@@ -142,17 +142,19 @@ CellInterpolate(const FieldVecType &pointFieldValues,
vtkm
::
CellShapeTagGeneric
shape
,
const
vtkm
::
exec
::
FunctorBase
&
worklet
)
{
typename
FieldVecType
::
ComponentType
result
;
switch
(
shape
.
Id
)
{
vtkmGenericCellShapeMacro
(
re
turn
CellInterpolate
(
pointFieldValues
,
parametricCoords
,
CellShapeTag
(),
worklet
));
re
sult
=
CellInterpolate
(
pointFieldValues
,
parametricCoords
,
CellShapeTag
(),
worklet
));
default:
worklet
.
RaiseError
(
"Unknown cell shape sent to interpolate."
);
return
typename
FieldVecType
::
ComponentType
();
}
return
result
;
}
//-----------------------------------------------------------------------------
...
...
Write
Preview
Supports
Markdown
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