STYLE: remove unneed '()' for simple return statements,

- fix 'forAll (' -> 'forAll(' format (again)
This commit is contained in:
Mark Olesen 2010-05-17 13:08:11 +02:00
parent 5bdcece3af
commit c600ce545d
11 changed files with 12 additions and 12 deletions

View File

@ -66,7 +66,7 @@ int main(int argc, char *argv[])
Info<< "End\n" << endl;
return(0);
return 0;
}

View File

@ -218,7 +218,7 @@ int main(int argc, char *argv[])
Info<< "End\n" << endl;
return(0);
return 0;
}

View File

@ -118,7 +118,7 @@ int main(int argc, char *argv[])
Info<< "End\n" << endl;
return(0);
return 0;
}

View File

@ -116,7 +116,7 @@ int main(int argc, char *argv[])
Info<< "End\n" << endl;
return(0);
return 0;
}

View File

@ -120,7 +120,7 @@ int main(int argc, char *argv[])
Info<< "End" << endl;
return(0);
return 0;
}

View File

@ -106,7 +106,7 @@ int main(int argc, char *argv[])
Info<< "End\n" << endl;
return(0);
return 0;
}

View File

@ -94,7 +94,7 @@ int main(int argc, char *argv[])
Info<< "\n end \n";
return(0);
return 0;
}

View File

@ -124,7 +124,7 @@ public:
const interfacePair& b
)
{
return (!(a == b));
return !(a == b);
}
};

View File

@ -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];

View File

@ -83,7 +83,7 @@ int main(int argc, char *argv[])
Info<< "End\n" << endl;
return(0);
return 0;
}

View File

@ -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>
(