From 7eb6cc5064939f87836d9c55161514f365c16ec4 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 30 Aug 2011 10:59:48 +0000 Subject: [PATCH] Fix a bug reported at the SALOME forum http://www.salome-platform.org/forum/forum_10/156409406 - bool ok; + bool ok = true; --- src/StdMeshers/StdMeshers_ViscousLayers.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StdMeshers/StdMeshers_ViscousLayers.cxx b/src/StdMeshers/StdMeshers_ViscousLayers.cxx index c391333bb..73ceef874 100644 --- a/src/StdMeshers/StdMeshers_ViscousLayers.cxx +++ b/src/StdMeshers/StdMeshers_ViscousLayers.cxx @@ -1363,7 +1363,7 @@ bool _ViscousBuilder::sortEdges( _SolidData& data, list< TGeomID > shapesToSmooth; SMESH_MesherHelper helper( *_mesh ); - bool ok; + bool ok = true; for ( unsigned iS = 0; iS < edgesByGeom.size(); ++iS ) { -- 2.39.2