mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: fix library linkage (#2784), silence some unused variable warnings
This commit is contained in:
@ -474,7 +474,7 @@ bool Foam::functionObjects::regionSizeDistribution::write()
|
||||
|
||||
// Determine blocked faces
|
||||
boolList blockedFace(mesh_.nFaces(), false);
|
||||
label nBlocked = 0;
|
||||
// label nBlocked = 0;
|
||||
|
||||
{
|
||||
for (label facei = 0; facei < mesh_.nInternalFaces(); facei++)
|
||||
@ -489,7 +489,7 @@ bool Foam::functionObjects::regionSizeDistribution::write()
|
||||
)
|
||||
{
|
||||
blockedFace[facei] = true;
|
||||
nBlocked++;
|
||||
// ++nBlocked;
|
||||
}
|
||||
}
|
||||
|
||||
@ -518,7 +518,7 @@ bool Foam::functionObjects::regionSizeDistribution::write()
|
||||
)
|
||||
{
|
||||
blockedFace[start+i] = true;
|
||||
nBlocked++;
|
||||
// ++nBlocked;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -58,12 +58,10 @@ Foam::label Foam::functionObjects::vtkWrite::writeVolFieldsImpl
|
||||
}
|
||||
|
||||
// Boundary
|
||||
label writeri = 0;
|
||||
for (vtk::patchWriter& writer : patchWriters)
|
||||
{
|
||||
ok = true;
|
||||
writer.write(field);
|
||||
++writeri;
|
||||
}
|
||||
|
||||
if (ok)
|
||||
|
||||
Reference in New Issue
Block a user