diff --git a/applications/test/HashingSpeed/Test-HashingSpeed.C b/applications/test/HashingSpeed/Test-HashingSpeed.C index 1b42b5d34da58037fbcc52674960f5b385ffe9a0..c3cbda702d8d172b4884b96dfa6f9be4a5f7a88f 100644 --- a/applications/test/HashingSpeed/Test-HashingSpeed.C +++ b/applications/test/HashingSpeed/Test-HashingSpeed.C @@ -1016,7 +1016,6 @@ int i; // found somewhere in the 2nd addition uint32_t stroustrup (const char * s, int len) { uint32_t h; - int i; for (register int i=0; i < len; ++s, ++i) { diff --git a/applications/test/List/Test-List.C b/applications/test/List/Test-List.C index ca303d53b72f6cb3af70b19d2c6a6e172979c62e..719a5ebc5c7e7e05ceaf9e274156e31b5f05f9db 100644 --- a/applications/test/List/Test-List.C +++ b/applications/test/List/Test-List.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -137,7 +137,7 @@ int main(int argc, char *argv[]) Info<< " std::list constructed from Foam::List: "; std::list<vector>::iterator it; - for (it=stlList.begin(); it != stlList.end(); it++) + for (it=stlList.begin(); it != stlList.end(); ++it) { Info<< *it << " "; } diff --git a/applications/test/string/Test-string.C b/applications/test/string/Test-string.C index 8494e8a104585e972b742a042e0f5a37761e06be..f39be8c20629f8072e1d48fd8848263b21f9f59d 100644 --- a/applications/test/string/Test-string.C +++ b/applications/test/string/Test-string.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -79,7 +79,7 @@ int main(int argc, char *argv[]) while (iter != iter2) { Info<< *iter; - iter++; + ++iter; } Info<< "<\n"; diff --git a/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/PV3FoamReader/pqPV3FoamReaderPanel.cxx b/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/PV3FoamReader/pqPV3FoamReaderPanel.cxx index f795ed8eec77b749c1c94b1dd94eded37dc965dd..3b111ff59f079dc42e325a9ff565865c0438246a 100644 --- a/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/PV3FoamReader/pqPV3FoamReaderPanel.cxx +++ b/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/PV3FoamReader/pqPV3FoamReaderPanel.cxx @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -441,8 +441,6 @@ void pqPV3FoamReaderPanel::IncludeZonesToggled() void pqPV3FoamReaderPanel::ExtrapolatePatchesToggled() { - vtkSMProperty* prop; - vtkSMIntVectorProperty::SafeDownCast ( this->proxy()->GetProperty("UiExtrapolatePatches") @@ -454,8 +452,6 @@ void pqPV3FoamReaderPanel::ExtrapolatePatchesToggled() void pqPV3FoamReaderPanel::InterpolateVolFieldsToggled() { - vtkSMProperty* prop; - vtkSMIntVectorProperty::SafeDownCast ( this->proxy()->GetProperty("UiInterpolateVolFields")