Remove unused variable

This commit is contained in:
Matthias Hochsteger 2024-01-19 09:21:56 +01:00
parent 10377be7d7
commit fd946dca7d

View File

@ -1414,7 +1414,6 @@ void Mesh :: ImproveMesh (const MeshingParameters & mp, OPTIMIZEGOAL goal)
multithread.task = "Optimize Volume: Smooth Mesh";
topt.Start();
int counter = 0;
for (auto icolor : Range(ncolors))
{
if (multithread.terminate)
@ -1438,8 +1437,6 @@ void Mesh :: ImproveMesh (const MeshingParameters & mp, OPTIMIZEGOAL goal)
PointIndex pi = color_table[icolor][i];
if ( (*this)[pi].Type() == INNERPOINT )
{
counter++;
double lh = pointh[pi];
pf.SetLocalH (lh);
par.typx = lh;