From: eap Date: Tue, 30 Aug 2011 10:59:48 +0000 (+0000) Subject: Fix a bug reported at the SALOME forum http://www.salome-platform.org/forum/forum_10... X-Git-Tag: V6_4_0a1~88 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7eb6cc5064939f87836d9c55161514f365c16ec4;p=modules%2Fsmesh.git Fix a bug reported at the SALOME forum http://www.salome-platform.org/forum/forum_10/156409406 - bool ok; + bool ok = true; --- 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 ) {