mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
gcc-4.6.0 warnings: removed initialised but unused variables
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd.
|
||||
\\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd.
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd.
|
||||
\\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd.
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -86,7 +86,6 @@ void starMesh::readPoints(const scalar scaleFactor)
|
||||
if (pointsFile.good())
|
||||
{
|
||||
label pointLabel;
|
||||
scalar x, y, z;
|
||||
|
||||
maxLabel = -1;
|
||||
while (pointsFile)
|
||||
@ -97,9 +96,9 @@ void starMesh::readPoints(const scalar scaleFactor)
|
||||
|
||||
maxLabel = max(maxLabel, pointLabel);
|
||||
|
||||
x = readVtxCmpt(pointsFile);
|
||||
y = readVtxCmpt(pointsFile);
|
||||
z = readVtxCmpt(pointsFile);
|
||||
readVtxCmpt(pointsFile);
|
||||
readVtxCmpt(pointsFile);
|
||||
readVtxCmpt(pointsFile);
|
||||
|
||||
readToNl(pointsFile);
|
||||
|
||||
|
||||
@ -33,7 +33,6 @@ EXE_LIBS = \
|
||||
-linterfaceProperties \
|
||||
-lIOFunctionObjects \
|
||||
-ljobControl \
|
||||
-lkineticTheoryModel \
|
||||
-llagrangian \
|
||||
-llagrangianIntermediate \
|
||||
-llaminarFlameSpeedModels \
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd.
|
||||
\\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd.
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -383,16 +383,12 @@ vtkUnstructuredGrid* Foam::vtkPV3Foam::volumeVTKMesh
|
||||
|
||||
forAll(quadFcs, quadI)
|
||||
{
|
||||
label thisCellI;
|
||||
|
||||
if (substituteCell)
|
||||
{
|
||||
thisCellI = cellI;
|
||||
substituteCell = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
thisCellI = mesh.nCells() + addCellI;
|
||||
superCells[addCellI++] = cellI;
|
||||
}
|
||||
|
||||
@ -430,16 +426,12 @@ vtkUnstructuredGrid* Foam::vtkPV3Foam::volumeVTKMesh
|
||||
|
||||
forAll(triFcs, triI)
|
||||
{
|
||||
label thisCellI;
|
||||
|
||||
if (substituteCell)
|
||||
{
|
||||
thisCellI = cellI;
|
||||
substituteCell = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
thisCellI = mesh.nCells() + addCellI;
|
||||
superCells[addCellI++] = cellI;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user