From 5e3743df313552f9cd14e34c189f7b4470d7a956 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Fri, 27 Sep 2024 11:43:54 +0200 Subject: [PATCH] Code cleanup --- libsrc/meshing/smoothing3.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/libsrc/meshing/smoothing3.cpp b/libsrc/meshing/smoothing3.cpp index 3cc10f7c..039bbf64 100644 --- a/libsrc/meshing/smoothing3.cpp +++ b/libsrc/meshing/smoothing3.cpp @@ -1399,7 +1399,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) @@ -1423,8 +1422,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;