Commit e94e94a7 authored by Alexey Matveichev's avatar Alexey Matveichev

Unused parameters & ambiguous assignment

Clang++ thinks that construction of object through tmp assignment is
ambiguous. Yet construction from tmp is OK.
parent 4027ad9c
......@@ -367,7 +367,7 @@ bool checkFaceAreas
const boolList* changedFacePtr
)
{
const scalarField magFaceAreas = mag(mesh.addressingData().faceAreas());
const scalarField magFaceAreas(mag(mesh.addressingData().faceAreas()));
const labelList& own = mesh.owner();
const labelList& nei = mesh.neighbour();
......@@ -1604,10 +1604,10 @@ void checkVolumeUniformity
bool checkVolumeUniformity
(
const polyMeshGen&,
const bool report,
const scalar warnUniform,
labelHashSet* setPtr,
const boolList* changedFacePtr
const bool /*report*/,
const scalar /*warnUniform*/,
labelHashSet* /*setPtr*/,
const boolList* /*changedFacePtr*/
)
{
......@@ -2120,7 +2120,7 @@ label findWorstQualityFaces
(
const polyMeshGen& mesh,
labelHashSet& badFaces,
const bool report,
const bool /*report*/,
const boolList* activeFacePtr,
const scalar relativeThreshold
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment