Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
OpenFOAM-plus
Commits
2ad36438
Commit
2ad36438
authored
Dec 21, 2018
by
Mark Olesen
Browse files
STYLE: reduce else/if levels for return
parent
a35d14ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mesh/snappyHexMesh/meshRefinement/meshRefinementRefine.C
View file @
2ad36438
...
...
@@ -1561,20 +1561,10 @@ bool Foam::meshRefinement::isGap
{
return
true
;
}
else
{
return
false
;
}
}
else
{
return
false
;
}
}
else
{
return
false
;
}
return
false
;
}
...
...
@@ -1619,20 +1609,10 @@ bool Foam::meshRefinement::isNormalGap
{
return
true
;
}
else
{
return
false
;
}
}
else
{
return
false
;
}
}
else
{
return
false
;
}
return
false
;
}
...
...
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