From 89c190500e83dd5f993ac70c6661da4f0fbd662c Mon Sep 17 00:00:00 2001 From: Paolo Cignoni cignoni Date: Wed, 7 Apr 2010 23:35:35 +0000 Subject: [PATCH] removed harmless gcc warnings --- .../filter_sampling/voronoi_clustering.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/meshlabplugins/filter_sampling/voronoi_clustering.h b/src/meshlabplugins/filter_sampling/voronoi_clustering.h index 81a3d2f92..63925a683 100644 --- a/src/meshlabplugins/filter_sampling/voronoi_clustering.h +++ b/src/meshlabplugins/filter_sampling/voronoi_clustering.h @@ -148,7 +148,7 @@ static void GetAreaAndFrontier(MeshType &m, PerVertexPointerHandle &sources, if((*vi).IsV()) borderVec.push_back(&*vi); } -static void VoronoiRelaxing(MeshType &m, std::vector &seedVec, int relaxIter, int percentileClamping, vcg::CallBackPos *cb=0) +static void VoronoiRelaxing(MeshType &m, std::vector &seedVec, int relaxIter, int /*percentileClamping*/, vcg::CallBackPos *cb=0) { for(int iter=0;iter &seedVec, int // Smaller area region are discarded Distribution H; - for(int i=0;i &seedVec, int } } std::vector newSeeds; - for(int i=0;iC() = Color4b::Gray; @@ -204,15 +204,15 @@ static void VoronoiRelaxing(MeshType &m, std::vector &seedVec, int } tri::UpdateColor::VertexQualityRamp(m); - for(int i=0;iC() = Color4b::Black; - for(int i=0;iC() = Color4b::Gray; swap(newSeeds,seedVec); - for(int i=0;iC() = Color4b::White; tri::Allocator::DeletePerVertexAttribute (m,"sources");