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
Development
openfoam
Commits
ccf61a7d
Commit
ccf61a7d
authored
May 18, 2010
by
Andrew Heather
Browse files
Revert "STYLE: remove unneed '()' for simple return statements,"
This reverts commit
c600ce54
.
parent
13aa4d6d
Changes
11
Hide whitespace changes
Inline
Side-by-side
applications/solvers/discreteMethods/dsmc/dsmcFoam/dsmcFoam.C
View file @
ccf61a7d
...
...
@@ -66,7 +66,7 @@ int main(int argc, char *argv[])
Info
<<
"End
\n
"
<<
endl
;
return
0
;
return
(
0
)
;
}
...
...
applications/solvers/incompressible/adjointShapeOptimizationFoam/adjointShapeOptimizationFoam.C
View file @
ccf61a7d
...
...
@@ -218,7 +218,7 @@ int main(int argc, char *argv[])
Info
<<
"End
\n
"
<<
endl
;
return
0
;
return
(
0
)
;
}
...
...
applications/solvers/lagrangian/coalChemistryFoam/coalChemistryFoam.C
View file @
ccf61a7d
...
...
@@ -118,7 +118,7 @@ int main(int argc, char *argv[])
Info
<<
"End
\n
"
<<
endl
;
return
0
;
return
(
0
)
;
}
...
...
applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/porousExplicitSourceReactingParcelFoam.C
View file @
ccf61a7d
...
...
@@ -116,7 +116,7 @@ int main(int argc, char *argv[])
Info
<<
"End
\n
"
<<
endl
;
return
0
;
return
(
0
)
;
}
...
...
applications/solvers/lagrangian/reactingParcelFilmFoam/reactingParcelFilmFoam.C
View file @
ccf61a7d
...
...
@@ -120,7 +120,7 @@ int main(int argc, char *argv[])
Info
<<
"End"
<<
endl
;
return
0
;
return
(
0
)
;
}
...
...
applications/solvers/lagrangian/reactingParcelFoam/reactingParcelFoam.C
View file @
ccf61a7d
...
...
@@ -106,7 +106,7 @@ int main(int argc, char *argv[])
Info
<<
"End
\n
"
<<
endl
;
return
0
;
return
(
0
)
;
}
...
...
applications/solvers/multiphase/interMixingFoam/interMixingFoam.C
View file @
ccf61a7d
...
...
@@ -94,7 +94,7 @@ int main(int argc, char *argv[])
Info
<<
"
\n
end
\n
"
;
return
0
;
return
(
0
)
;
}
...
...
applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/multiphaseMixture.H
View file @
ccf61a7d
...
...
@@ -124,7 +124,7 @@ public:
const
interfacePair
&
b
)
{
return
!
(
a
==
b
);
return
(
!
(
a
==
b
)
)
;
}
};
...
...
applications/utilities/mesh/conversion/fluentMeshToFoam/create3DCellShape.C
View file @
ccf61a7d
...
...
@@ -90,7 +90,7 @@ cellShape create3DCellShape
// make a list of outward-pointing faces
labelListList
localFaces
(
faceLabels
.
size
());
forAll
(
faceLabels
,
faceI
)
forAll
(
faceLabels
,
faceI
)
{
const
label
curFaceLabel
=
faceLabels
[
faceI
];
...
...
applications/utilities/preProcessing/dsmcInitialise/dsmcInitialise.C
View file @
ccf61a7d
...
...
@@ -83,7 +83,7 @@ int main(int argc, char *argv[])
Info
<<
"End
\n
"
<<
endl
;
return
0
;
return
(
0
)
;
}
...
...
src/lagrangian/basic/InteractionLists/InteractionLists.C
View file @
ccf61a7d
...
...
@@ -932,7 +932,7 @@ void Foam::InteractionLists<ParticleType>::prepareParticlesToRefer
IDLList
<
ParticleType
>&
particlesToRefer
=
referredParticles_
[
i
];
forAll
(
realParticles
,
rM
)
forAll
(
realParticles
,
rM
)
{
const
ParticleType
&
particle
=
*
realParticles
[
rM
];
...
...
@@ -1188,7 +1188,7 @@ void Foam::InteractionLists<ParticleType>::receiveReferredData
{
UIPstream
str
(
domain
,
pBufs
);
forAll
(
constructMap
,
i
)
forAll
(
constructMap
,
i
)
{
referredParticles_
[
constructMap
[
i
]]
=
IDLList
<
ParticleType
>
(
...
...
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