From fd946dca7dec004fd9f1fad37def92ae3e8c8186 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Fri, 19 Jan 2024 09:21:56 +0100 Subject: [PATCH] Remove unused variable --- libsrc/meshing/smoothing3.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/libsrc/meshing/smoothing3.cpp b/libsrc/meshing/smoothing3.cpp index c9c533ff..2041e276 100644 --- a/libsrc/meshing/smoothing3.cpp +++ b/libsrc/meshing/smoothing3.cpp @@ -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;