STYLE: reduced nesting on return branching

This commit is contained in:
Mark Olesen
2019-02-13 08:06:36 +01:00
parent f3d9c8e2be
commit 6c68c4fe13
208 changed files with 1052 additions and 1759 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd |
\\ / A nd | Copyright (C) 2019 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
| Copyright (C) 2011-2015 OpenFOAM Foundation
@ -109,10 +109,8 @@ inline bool Foam::PointData<DataType>::updatePoint
return true;
}
else
{
return false;
}
return false;
}
@ -143,10 +141,8 @@ inline bool Foam::PointData<DataType>::updatePoint
return true;
}
else
{
return false;
}
return false;
}
@ -165,10 +161,8 @@ inline bool Foam::PointData<DataType>::updatePoint
return true;
}
else
{
return false;
}
return false;
}
@ -202,10 +196,8 @@ inline bool Foam::PointData<DataType>::updateEdge
return true;
}
else
{
return false;
}
return false;
}