From: jfa Date: Tue, 2 May 2006 12:47:47 +0000 (+0000) Subject: Fix a problem with not initialized class member. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e3994c67d120e75f908e23d4224e80e00559a837;p=modules%2Fsmesh.git Fix a problem with not initialized class member. --- diff --git a/src/SMESHDS/SMESHDS_Mesh.cxx b/src/SMESHDS/SMESHDS_Mesh.cxx index c1d3cc45c..10cb0b0a5 100644 --- a/src/SMESHDS/SMESHDS_Mesh.cxx +++ b/src/SMESHDS/SMESHDS_Mesh.cxx @@ -46,8 +46,9 @@ using namespace std; //purpose : //======================================================================= SMESHDS_Mesh::SMESHDS_Mesh(int theMeshID, bool theIsEmbeddedMode): + myMeshID(theMeshID), myIsEmbeddedMode(theIsEmbeddedMode), - myMeshID(theMeshID) + myCurSubID(-1) { myScript = new SMESHDS_Script(theIsEmbeddedMode); }