Salome HOME
Fix regressions
[modules/smesh.git] / src / SMESH_I / SMESH_Gen_i.cxx
index 32c05839a89fd24d07c29ac0d1f85fc14c6df4c9..a279a4ada6df344848925daad936a7045094e4e8 100644 (file)
@@ -4485,7 +4485,7 @@ bool SMESH_Gen_i::Load( SALOMEDS::SComponent_ptr theComponent,
 
       // --> try to find SUB-MESHES containers for each type of submesh
       for ( int j = GetSubMeshOnVertexTag(); j <= GetSubMeshOnCompoundTag(); j++ ) {
-        const char* name_meshgroup;
+        const char* name_meshgroup = 0;
         if ( j == GetSubMeshOnVertexTag() )
           name_meshgroup = "SubMeshes On Vertex";
         else if ( j == GetSubMeshOnEdgeTag() )