Skip to content
Snippets Groups Projects
Commit 20a3d67c authored by mattijs's avatar mattijs
Browse files

STYLE: various: small coding issues

parent dc8d0658
No related branches found
No related tags found
No related merge requests found
...@@ -1016,7 +1016,6 @@ int i; ...@@ -1016,7 +1016,6 @@ int i;
// found somewhere in the 2nd addition // found somewhere in the 2nd addition
uint32_t stroustrup (const char * s, int len) { uint32_t stroustrup (const char * s, int len) {
uint32_t h; uint32_t h;
int i;
for (register int i=0; i < len; ++s, ++i) for (register int i=0; i < len; ++s, ++i)
{ {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
...@@ -137,7 +137,7 @@ int main(int argc, char *argv[]) ...@@ -137,7 +137,7 @@ int main(int argc, char *argv[])
Info<< " std::list constructed from Foam::List: "; Info<< " std::list constructed from Foam::List: ";
std::list<vector>::iterator it; std::list<vector>::iterator it;
for (it=stlList.begin(); it != stlList.end(); it++) for (it=stlList.begin(); it != stlList.end(); ++it)
{ {
Info<< *it << " "; Info<< *it << " ";
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
...@@ -79,7 +79,7 @@ int main(int argc, char *argv[]) ...@@ -79,7 +79,7 @@ int main(int argc, char *argv[])
while (iter != iter2) while (iter != iter2)
{ {
Info<< *iter; Info<< *iter;
iter++; ++iter;
} }
Info<< "<\n"; Info<< "<\n";
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
...@@ -441,8 +441,6 @@ void pqPV3FoamReaderPanel::IncludeZonesToggled() ...@@ -441,8 +441,6 @@ void pqPV3FoamReaderPanel::IncludeZonesToggled()
void pqPV3FoamReaderPanel::ExtrapolatePatchesToggled() void pqPV3FoamReaderPanel::ExtrapolatePatchesToggled()
{ {
vtkSMProperty* prop;
vtkSMIntVectorProperty::SafeDownCast vtkSMIntVectorProperty::SafeDownCast
( (
this->proxy()->GetProperty("UiExtrapolatePatches") this->proxy()->GetProperty("UiExtrapolatePatches")
...@@ -454,8 +452,6 @@ void pqPV3FoamReaderPanel::ExtrapolatePatchesToggled() ...@@ -454,8 +452,6 @@ void pqPV3FoamReaderPanel::ExtrapolatePatchesToggled()
void pqPV3FoamReaderPanel::InterpolateVolFieldsToggled() void pqPV3FoamReaderPanel::InterpolateVolFieldsToggled()
{ {
vtkSMProperty* prop;
vtkSMIntVectorProperty::SafeDownCast vtkSMIntVectorProperty::SafeDownCast
( (
this->proxy()->GetProperty("UiInterpolateVolFields") this->proxy()->GetProperty("UiInterpolateVolFields")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment