]> OCCT Git - occt-copy.git/commitdiff
0024275: Cppcheck warnings on uninitialized class members
authorski <ski@opencascade.com>
Thu, 14 Nov 2013 07:08:41 +0000 (11:08 +0400)
committerbugmaster <bugmaster@opencascade.com>
Thu, 14 Nov 2013 07:09:32 +0000 (11:09 +0400)
Removed warning of cppcheck on uninitialized class members for non-array cases
New additional compilation warnings on Windows platform from file OSD_Path.cxx were fixed
Warnings about wrong initialization removed

78 files changed:
src/Adaptor3d/Adaptor3d_IsoCurve.cxx
src/Adaptor3d/Adaptor3d_OffsetCurve.cxx
src/AdvApp2Var/AdvApp2Var_ApproxAFunc2Var.cxx
src/BRepFeat/BRepFeat_Form.lxx
src/BRepFeat/BRepFeat_MakeCylindricalHole.lxx
src/BRepGProp/BRepGProp_Face.lxx
src/BRepMesh/BRepMesh_Triangle.cxx
src/Bnd/Bnd_BoundSortBox.cxx
src/CPnts/CPnts_MyGaussFunction.lxx
src/CPnts/CPnts_MyRootFunction.lxx
src/ChFi2d/ChFi2d_ChamferAPI.cxx
src/ChFi2d/ChFi2d_FilletAlgo.hxx
src/DDF/DDF_IOStream.cxx
src/Draw/Draw_Interpretor.cxx
src/Draw/Draw_Viewer.cxx
src/GCPnts/GCPnts_QuasiUniformAbscissa.cxx
src/GCPnts/GCPnts_UniformAbscissa.cxx
src/GProp/GProp_VGPropsGK.lxx
src/Geom2dToIGES/Geom2dToIGES_Geom2dEntity.cxx
src/GeomFill/GeomFill_DiscreteTrihedron.cxx
src/GeomInt/GeomInt_IntSS_1.cxx
src/Graphic3d/Graphic3d_CGraduatedTrihedron.hxx
src/Graphic3d/Graphic3d_CGroup.hxx
src/Graphic3d/Graphic3d_CView.hxx
src/IntCurve/IntCurve_IntConicConic_Tool.cxx
src/IntTools/IntTools_EdgeEdge_1.cxx
src/LDOM/LDOM_XmlReader.cxx
src/LocOpe/LocOpe_Gluer.lxx
src/OSD/OSD_Error.cxx
src/OSD/OSD_Path.cxx
src/OpenGl/OpenGl_TextFormatter.cxx
src/PBRep/PBRep_TEdge.cxx
src/PBRep/PBRep_TEdge1.cxx
src/PBRep/PBRep_TFace.cxx
src/PBRep/PBRep_TFace1.cxx
src/PBRep/PBRep_TVertex.cxx
src/PBRep/PBRep_TVertex1.cxx
src/PCDM/PCDM_ReferenceIterator.cxx
src/PDF/PDF_Data.cxx
src/PDF/PDF_TagSource.cxx
src/PDataStd/PDataStd_BooleanArray.cxx
src/PDataStd/PDataStd_ByteArray_1.cxx
src/PDataStd/PDataStd_ExtStringArray_1.cxx
src/PDataStd/PDataStd_IntPackedMap_1.cxx
src/PDataStd/PDataStd_Integer.cxx
src/PDataStd/PDataStd_IntegerArray_1.cxx
src/PDataStd/PDataStd_Real.cxx
src/PDataStd/PDataStd_RealArray_1.cxx
src/PDataStd/PDataStd_Variable.cxx
src/PDataXtd/PDataXtd_Constraint.cxx
src/PDataXtd/PDataXtd_Geometry.cxx
src/PDataXtd/PDataXtd_PatternStd.cxx
src/PNaming/PNaming_Name.cxx
src/PNaming/PNaming_Name_1.cxx
src/PNaming/PNaming_Name_2.cxx
src/PNaming/PNaming_NamedShape.cxx
src/PPrsStd/PPrsStd_AISPresentation.cxx
src/PPrsStd/PPrsStd_AISPresentation_1.cxx
src/PTopoDS/PTopoDS_HShape.cxx
src/PTopoDS/PTopoDS_Shape1.cxx
src/PTopoDS/PTopoDS_TShape.cxx
src/PXCAFDoc/PXCAFDoc_Area.cxx
src/PXCAFDoc/PXCAFDoc_DimTol.cxx
src/PXCAFDoc/PXCAFDoc_Material.cxx
src/PXCAFDoc/PXCAFDoc_Volume.cxx
src/ProjLib/ProjLib_ProjectOnPlane.cxx
src/STEPCAFControl/STEPCAFControl_Reader.cxx
src/Standard/Standard_ErrorHandlerCallback.lxx
src/StepVisual/StepVisual_DirectionCountSelect.cxx
src/TNaming/TNaming_Name.cxx
src/TObj/TObj_Application.cxx
src/TestTopOpe/TestTopOpe_MiscBOOP.cxx
src/TestTopOpe/TestTopOpe_VarsTopo.cxx
src/TopOpeBRep/TopOpeBRep_LineInter.lxx
src/TopOpeBRep/TopOpeBRep_VPointInter.lxx
src/TopOpeBRepBuild/TopOpeBRepBuild_FuseFace.lxx
src/TopOpeBRepDS/TopOpeBRepDS_DataStructure.cxx
src/VrmlData/VrmlData_TextureTransform.hxx

index 6dcccd72a463cd783b2cd5023fe07ad3fbccca3c..ddddd954b71dd1bf48d852314469d6cbf0a7dda7 100755 (executable)
 //=======================================================================
 
 Adaptor3d_IsoCurve::Adaptor3d_IsoCurve() :
-       myIso(GeomAbs_NoneIso)
+       myIso(GeomAbs_NoneIso),
+          myFirst ( 0. ),
+          myLast ( 0. ),
+          myParameter ( 0. )
 {}
 
 //=======================================================================
@@ -48,7 +51,10 @@ Adaptor3d_IsoCurve::Adaptor3d_IsoCurve() :
 //purpose  : 
 //=======================================================================
 
-Adaptor3d_IsoCurve::Adaptor3d_IsoCurve(const Handle(Adaptor3d_HSurface)& S)
+Adaptor3d_IsoCurve::Adaptor3d_IsoCurve(const Handle(Adaptor3d_HSurface)& S) :
+          myFirst ( 0. ),
+          myLast ( 0. ),
+          myParameter ( 0. )
 {
   Load(S);
 }
index effd8d41061329b97e7aa332617b96382b6c8182..38d01906e7f4b8deb6e92d71c6a1f0220de5ade7 100755 (executable)
@@ -33,7 +33,9 @@
 //=======================================================================
 
 Adaptor3d_OffsetCurve::Adaptor3d_OffsetCurve() :
-       myOffset( 0.)
+       myOffset( 0.),
+       myFirst ( 0.),
+          myLast ( 0.)
 {}
 
 //=======================================================================
@@ -41,7 +43,9 @@ Adaptor3d_OffsetCurve::Adaptor3d_OffsetCurve() :
 //purpose  : 
 //=======================================================================
 
-Adaptor3d_OffsetCurve::Adaptor3d_OffsetCurve(const Handle(Adaptor2d_HCurve2d)& C)
+Adaptor3d_OffsetCurve::Adaptor3d_OffsetCurve(const Handle(Adaptor2d_HCurve2d)& C) :
+          myFirst ( 0.),
+          myLast ( 0.)
 {
   Load(C);
 }
@@ -52,7 +56,9 @@ Adaptor3d_OffsetCurve::Adaptor3d_OffsetCurve(const Handle(Adaptor2d_HCurve2d)& C
 //=======================================================================
 
 Adaptor3d_OffsetCurve::Adaptor3d_OffsetCurve(const Handle(Adaptor2d_HCurve2d)& C,
-                                        const Standard_Real Offset) 
+                                                                                        const Standard_Real Offset) :
+       myFirst ( 0.),
+          myLast ( 0.)
 {
   Load(C);
   Load(Offset);
index 63f9aa3b571e6a7d6b1be6387eedfab26be752ed..e7e25a905dd03aa62dd82dddd8da895411618303 100755 (executable)
@@ -95,7 +95,8 @@ myMaxDegInU(MaxDegInU),
 myMaxDegInV(MaxDegInV),
 myMaxPatches(MaxPatch),
 myDone(Standard_False),
-myHasResult(Standard_False)
+myHasResult(Standard_False),
+myCriterionError(0.)
 {
   myNumSubSpaces[0] = Num1DSS;
   myNumSubSpaces[1] = Num2DSS;
index 4a04e8d55d94c5a1811900c65298b85c7a1e86dc..5ab6bc78e94be9e5d2946ad5350d186d9fe3f1f2 100755 (executable)
 //purpose  : 
 //=======================================================================
 
-inline BRepFeat_Form::BRepFeat_Form () : 
-   mySbOK(Standard_False),myGSOK(Standard_False),mySFOK(Standard_False),
-   mySUOK(Standard_False),myGFOK(Standard_False)
+inline BRepFeat_Form::BRepFeat_Form () :
+   myFuse(Standard_False),
+   myModify(Standard_False),
+   myPerfSelection(BRepFeat_NoSelection),
+   myJustGluer(Standard_False),
+   myJustFeat(Standard_False),
+   mySbOK(Standard_False),mySkOK(Standard_False),
+   myGSOK(Standard_False),mySFOK(Standard_False),
+   mySUOK(Standard_False),myGFOK(Standard_False),
+   myPSOK(Standard_False),
+   myStatusError(BRepFeat_NotInitialized)
+
 {}
 
 //=======================================================================
index 2bf099a8e9adb26656adb8ebb42ce668ea5ffe5c..e64046de11c6cc0607b3fc90ed404c85def68642 100755 (executable)
 //=======================================================================
 
 inline BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole ():
-   myAxDef(Standard_False)
+   myAxDef(Standard_False),
+   myStatus(BRepFeat_NoError),
+   myIsBlind(Standard_False),
+   myValidate(Standard_False)
 {}
 
 //=======================================================================
index 8a1876ea73369766b8f8964e85047bf0781b4353..f92f7e69653094c1a77dd4a17571e0963f723095 100755 (executable)
@@ -27,7 +27,8 @@
 //=======================================================================
 
 inline BRepGProp_Face::BRepGProp_Face(const Standard_Boolean IsUseSpan)
-     : myIsUseSpan(IsUseSpan)
+     : mySReverse (Standard_False),
+       myIsUseSpan(IsUseSpan)
 {
 }
 
index 6835677e1cf40b769d8a9506856d5f7e529039f6..8c89f62335d7919df9d49370a9361d16f9efde62 100755 (executable)
@@ -28,6 +28,9 @@ BRepMesh_Triangle::BRepMesh_Triangle()
 : myEdge1(0),
   myEdge2(0),
   myEdge3(0),
+  myOrientation1(Standard_False),
+  myOrientation2(Standard_False),
+  myOrientation3(Standard_False),
   myMovability(BRepMesh_Free)
 {
 }
index e2b3554f75606f394c5ff1c713108f81c1d02c12..72532004d0e18df112f40ce6a0c3699197e1356e 100755 (executable)
@@ -202,7 +202,12 @@ BSB_T3Bits::~BSB_T3Bits() {
   if(ToTest)  { delete [] ToTest; ToTest=0; } 
 }
 //=======================================================================
-BSB_T3Bits::BSB_T3Bits(int size) {
+BSB_T3Bits::BSB_T3Bits(int size)
+       : ind(0),
+    Xmin(0),Xmax(0),
+       Ymin(0),Ymax(0),
+       Zmin(0),Zmax(0)
+{
   switch (size) { 
   case 128: {  _DECAL=7;   _DECAL2=14;   _BASE=128;  _BASEM1=127;  break; } 
   case  64: {  _DECAL=6;   _DECAL2=12;   _BASE= 64;  _BASEM1= 63;  break; } 
index 86593fd3354bf7cebd15004a3506e31175cbb53b..430228c16c1b45b12b84f26433ac6e63565a9453 100755 (executable)
@@ -20,4 +20,8 @@
 
 
 
-inline CPnts_MyGaussFunction::CPnts_MyGaussFunction() {}
+inline CPnts_MyGaussFunction::CPnts_MyGaussFunction() :
+                       myFunction(NULL),
+                       myData((Standard_Address) NULL)
+ {
+ }
index d77a002b6a2ba5dc3e235f999bed58f78b97521b..4338b4ed009568f643dace8ff935a5f895835078 100755 (executable)
@@ -19,4 +19,9 @@
 // and conditions governing the rights and limitations under the License.
 
 
-inline CPnts_MyRootFunction::CPnts_MyRootFunction() {}
+inline CPnts_MyRootFunction::CPnts_MyRootFunction() :
+   myX0( 0. ),
+   myL( 0. ),
+   myOrder( 0 ),
+   myTol( 0. )
+ {}
index 38ad2173333c9334733d8e91a985a6b0cc3a2d3c..0a45263c08f708e83fe39e8c8a2159c0b9453db7 100644 (file)
@@ -32,13 +32,25 @@ ChFi2d_ChamferAPI::ChFi2d_ChamferAPI()
 }
 
 // A constructor accepting a wire consisting of two linear edges.
-ChFi2d_ChamferAPI::ChFi2d_ChamferAPI(const TopoDS_Wire& theWire)
+ChFi2d_ChamferAPI::ChFi2d_ChamferAPI(const TopoDS_Wire& theWire) :
+       myStart1(0.), 
+       myEnd1(0.), 
+       myStart2(0.), 
+       myEnd2(0.),
+       myCommonStart1(Standard_False), 
+       myCommonStart2(Standard_False)
 {
   Init(theWire);
 }
 
 // A constructor accepting two linear edges.
-ChFi2d_ChamferAPI::ChFi2d_ChamferAPI(const TopoDS_Edge& theEdge1, const TopoDS_Edge& theEdge2)
+ChFi2d_ChamferAPI::ChFi2d_ChamferAPI(const TopoDS_Edge& theEdge1, const TopoDS_Edge& theEdge2) :
+       myStart1(0.), 
+       myEnd1(0.), 
+       myStart2(0.), 
+       myEnd2(0.),
+       myCommonStart1(Standard_False), 
+       myCommonStart2(Standard_False)
 {
   Init(theEdge1, theEdge2);
 }
index 64f9a6da22c10e50e6ea5abe52828832f414d11d..3fed85f5a788f434fcfb26229ca679328f57bf29 100644 (file)
@@ -149,7 +149,8 @@ class FilletPoint
 {
 public:
   //! Creates a point on a first curve by parameter on this curve.
-  FilletPoint(Standard_Real theParam) {myParam = theParam;}
+  FilletPoint(Standard_Real theParam) : myParam2(0.)
+       {myParam = theParam;}
 
   //! Changes the point position by changing point parameter on the first curve.
   void setParam(Standard_Real theParam) {myParam = theParam;}
index 50d8285461fa53c0caa4de78a24aea34c820dce9..b30ed49345c28b6689919c4458f94047f598b692 100755 (executable)
@@ -53,7 +53,9 @@ const Standard_CString MAGICNUMBER = "FSDFILE";
 //purpose  : 
 //=======================================================================
 
-DDF_IOStream::DDF_IOStream()
+DDF_IOStream::DDF_IOStream() : 
+       myIStream(NULL),
+       myOStream(NULL)
 {}
 
 //=======================================================================
index 540985205f814d383b1fe0d515ec7dd632f459ef..2a258a268d3b245fb9c475dd89697b5b140628a5 100755 (executable)
@@ -82,7 +82,11 @@ class TclUTFToLocalStringSentry {
     delete[] TclArgv;
   }
 #else
-  TclUTFToLocalStringSentry (int, const char **argv) : Argv((char**)argv) {}
+  TclUTFToLocalStringSentry (int, const char **argv) : 
+          nb(0),
+       TclArgv(NULL),
+          Argv((char**)argv)
+  {}
 #endif
 
   const char **GetArgv () const { return (const char **)Argv; }
index 7792e6125775b754d2493e6bd6ebd68205a95ef0..adbb8d3eb35853217ade49c0cb28de08a1f91b24 100755 (executable)
@@ -142,7 +142,15 @@ Draw_View::Draw_View(Standard_Integer i, Draw_Viewer* v,
                        Standard_Integer Y,
                        Standard_Integer W,
                        Standard_Integer H) :
-     Draw_Window("Win", X, Y, W, H), id(i), viewer(v)
+     Draw_Window("Win", X, Y, W, H), 
+     id(i),
+        viewer(v),
+        FlagPers(0),
+        Flag2d(0),
+     FocalDist(0.),
+        Zoom(0.),
+     dX(0),dY(0),
+     lastX(0),lastY(0)
 {
   Framex0=Framey0=Framex1=Framey1=0;
 }
@@ -169,9 +177,16 @@ Draw_View::Draw_View(Standard_Integer i, Draw_Viewer* v,
                      Standard_Integer W,
                      Standard_Integer H,
                      NSWindow* theWindow) :
-Draw_Window(theWindow, "Win", X, Y, W, H), id(i), viewer(v)
+     Draw_Window(theWindow, "Win", X, Y, W, H), id(i), viewer(v),
+        FlagPers(0),
+        Flag2d(0),
+     FocalDist(0.),
+        Zoom(0.),
+     dX(0),dY(0),
+     lastX(0),lastY(0),
+        Framex0(0),Framey0(0),
+        Framex1(0),Framey1(0)
 {
-  Framex0=Framey0=Framex1=Framey1=0;
 }
 #endif
 
@@ -180,7 +195,7 @@ Draw_Window(theWindow, "Win", X, Y, W, H), id(i), viewer(v)
 //purpose  :
 //=======================================================================
 #if defined(_WIN32) || defined (__WIN32__) || (defined(__APPLE__) && !defined(MACOSX_USE_GLX))
-Draw_View::Draw_View(Standard_Integer /*i*/, Draw_Viewer* /*v*/, const char* /*w*/)
+        Draw_View::Draw_View(Standard_Integer /*i*/, Draw_Viewer* /*v*/, const char* /*w*/) : viewer( NULL )
 #else
 Draw_View::Draw_View(Standard_Integer i, Draw_Viewer* v, const char* w) :
      Draw_Window(w), id(i), viewer(v)
index 999c9b27aa0f130b83c186a43a1223ccd30fd05b..9d33dcfd9ce1fd688dceef40ecc502851fe77dd5 100755 (executable)
@@ -43,7 +43,8 @@
 //=======================================================================
 
 GCPnts_QuasiUniformAbscissa::GCPnts_QuasiUniformAbscissa ()
-     :myDone(Standard_False) 
+     :myDone(Standard_False),
+        myNbPoints(0)
 {
 } 
 
index 5a54be27e8505d61c29f73a672c3ed7b971f9a11..9996e7488769e045f2a854f06d7a786a5ee60506 100755 (executable)
@@ -30,7 +30,9 @@
 //=======================================================================
 
 GCPnts_UniformAbscissa::GCPnts_UniformAbscissa ()
-     :myDone(Standard_False) 
+     :myDone(Standard_False),
+        myNbPoints(0),
+        myAbscissa(0.)
 {
 } 
 
index e51b2482a4477774302644e7d169b0a4bc077d9a..98ceec4148af9f7653a73e684a9fa6509d966d72 100755 (executable)
@@ -25,7 +25,8 @@
 //==========================================================================
 
 inline GProp_VGPropsGK::GProp_VGPropsGK()
-     : myErrorReached(0.)
+     : myErrorReached(0.),
+     myAbsolutError(0.)
 {
 }
 
index 50c92d616bab33767f917eae6d5f7552c87a34d4..ebc93ca65252f7886d4052deb1a3c7e1f42eef95 100755 (executable)
@@ -35,7 +35,8 @@
 //purpose  : 
 //=======================================================================
 
-Geom2dToIGES_Geom2dEntity::Geom2dToIGES_Geom2dEntity()
+Geom2dToIGES_Geom2dEntity::Geom2dToIGES_Geom2dEntity() :
+      TheUnitFactor(0.)
 {  
 }
 
index c7d48ff2c61a981ce34b0f48f502e71c593231e6..29d29d3bb2864e041e91967c49eac7627a179ab8 100644 (file)
@@ -35,7 +35,8 @@ static const Standard_Real TolConf = Precision::Confusion();
 //purpose  : Constructor
 //=======================================================================
 
-GeomFill_DiscreteTrihedron::GeomFill_DiscreteTrihedron()
+GeomFill_DiscreteTrihedron::GeomFill_DiscreteTrihedron() :
+    myUseFrenet(Standard_False)
 {
   myFrenet = new GeomFill_Frenet();
   myKnots      = new TColStd_HSequenceOfReal();
index f9af783a78e93fbc09b97253940f1cb4b122a934..b847bfb32d28d903d15c4b52c798c3c13dfa54a8 100755 (executable)
@@ -153,7 +153,7 @@ static
 class ProjectPointOnSurf
 {
  public:
-  ProjectPointOnSurf() : myIsDone (Standard_False) {}
+  ProjectPointOnSurf() : myIsDone (Standard_False),myIndex(0) {}
   void Init(const Handle(Geom_Surface)& Surface,
            const Standard_Real Umin,
            const Standard_Real Usup,
index e34df4a5fc966322d5cbfbc3422582dd7da36529..e0f0576cbe3f25bfbf39a20ed4651c5a86c23ee1 100644 (file)
@@ -34,7 +34,30 @@ class Graphic3d_CGraduatedTrihedron
 {
   public:
     /* Default constructor. Nullifies the view pointer */
-    Graphic3d_CGraduatedTrihedron () : ptrVisual3dView(NULL) {}
+    Graphic3d_CGraduatedTrihedron () : xdrawname ( Standard_False ),
+    ydrawname ( Standard_False ),
+    zdrawname ( Standard_False ),
+    xdrawvalues ( Standard_False ),
+    ydrawvalues ( Standard_False ),
+    zdrawvalues ( Standard_False ),
+    drawgrid ( Standard_False ),
+    drawaxes ( Standard_False ),
+    nbx ( 0 ),nby ( 0 ),nbz ( 0 ),
+    xoffset ( 0 ),yoffset ( 0 ),zoffset ( 0 ),
+    xaxisoffset ( 0 ),yaxisoffset ( 0 ),zaxisoffset ( 0 ),
+    xdrawtickmarks ( Standard_False ),
+    ydrawtickmarks ( Standard_False ),
+    zdrawtickmarks ( Standard_False ),
+    xtickmarklength ( 0 ), ytickmarklength ( 0 ), ztickmarklength ( 0 ),
+    styleOfNames ( Font_FA_Undefined ),
+    sizeOfNames ( 0 ),
+    styleOfValues ( Font_FA_Undefined ),
+    sizeOfValues ( 0 ),
+    cbCubicAxes ( NULL ),
+    ptrVisual3dView(NULL)
+       {
+               //
+       }
 
     /* Names of axes */
     TCollection_ExtendedString xname, yname, zname;
index c9619927b29e32fefad2b8ee78a0c2658edb5829..590ae8141ea96e4296d11ed9fb51859791a7571c 100755 (executable)
@@ -46,7 +46,11 @@ public:
     PolygonOffsetFactor (0.0f),
     PolygonOffsetUnits  (0.0f)
   {
-    //
+    memset(&IntColor,0,sizeof(IntColor));
+       memset(&BackIntColor,0,sizeof(BackIntColor));
+       memset(&EdgeColor,0,sizeof(EdgeColor));
+       memset(&Front,0,sizeof(Front));
+       memset(&Back,0,sizeof(Back));
   }
 
 public:
@@ -82,7 +86,6 @@ public:
   float PolygonOffsetUnits;
 
   Handle(Graphic3d_ShaderProgram) ShaderProgram;
-
 };
 
 class CALL_DEF_CONTEXTMARKER
@@ -96,7 +99,7 @@ public:
     Scale (0),
     MarkerImage (NULL)
   {
-    //
+         memset(&Color,0,sizeof(Color));
   }
 
 public:
index 33d0040b28016e38eae4581735a95b6ac5940ba2..dbc739a1967d0df0845415e2b2e48df7f327c13a 100755 (executable)
@@ -92,6 +92,7 @@ public:
     ptrUnderLayer (NULL),
     ptrOverLayer  (NULL),
     Backfacing  (0),
+       GContext (NULL),
     GDisplayCB  (NULL),
     GClientData (NULL),
     ptrFBO (NULL),
@@ -101,7 +102,11 @@ public:
     IsReflectionsEnabled (1),
     IsAntialiasingEnabled (0)
   {
-    //
+    memset(&Orientation,0,sizeof(Orientation));
+       memset(&Mapping,0,sizeof(Mapping));
+       memset(&OrientationReset,0,sizeof(OrientationReset));
+       memset(&MappingReset,0,sizeof(MappingReset));
+       memset(&DefWindow,0,sizeof(DefWindow));
   }
 
 public:
index 71dbf8b3b632c2326f3930e76ffb3afada0d81d0..0bd5035fd50939f16d3d0787bf4d32f189340ec2 100755 (executable)
@@ -154,7 +154,12 @@ PeriodicInterval PeriodicInterval::SecondIntersection(PeriodicInterval& PInter)
   return(PeriodicInterval(a,b));
 }
 //----------------------------------------------------------------------
-Interval::Interval() { IsNull=Standard_True; }
+Interval::Interval() : 
+    Binf(0.),
+    Bsup(0.),
+    HasFirstBound(Standard_False),
+    HasLastBound(Standard_False)
+{ IsNull=Standard_True; }
 
 Interval::Interval(const Standard_Real a,const Standard_Real b) { 
   HasFirstBound=HasLastBound=Standard_True;
index 77aa02dcb55f513a0551320eb62ac9954d62fd0b..7f17624be5430240b31e0c324008678a48f5f29c 100644 (file)
@@ -560,7 +560,7 @@ class IntTools_DistCC {
     myT11=0.;
     myT12=0.;
     myT21=0.;
-    myT21=0.;
+    myT22=0.;
     myErrorStatus=1;
     myThreshold=1.e-7;
     myDx=0.;
index fc1bdf72c2e5d0660e2b49327a215873f3700707..c28605f9138ad6f8c6961234546d37ba1df90e81 100755 (executable)
@@ -79,6 +79,7 @@ LDOM_XmlReader::LDOM_XmlReader (const int                       aFileDes,
 #endif
        myError          (anErrorString),
        myDocument       (aDocument),
+          myElement        (NULL),
        myPtr            (&myBuffer[0]),
        myEndPtr         (&myBuffer[0])
 {}
@@ -96,6 +97,7 @@ LDOM_XmlReader::LDOM_XmlReader (istream&                        anInput,
        myIStream        (anInput),
        myError          (anErrorString),
        myDocument       (aDocument),
+          myElement        (NULL),
        myPtr            (&myBuffer[0]),
        myEndPtr         (&myBuffer[0])
 {}
index 2ab254e9b1f048454837fab25d86991624aa0a65..70cf2a3eefb676ab29ac706a8b45d1b339e7c004 100755 (executable)
@@ -29,7 +29,7 @@
 //=======================================================================
 
 inline LocOpe_Gluer::LocOpe_Gluer () : 
-   myDone(Standard_False),myOri(TopAbs_INTERNAL)
+   myDone(Standard_False),myOri(TopAbs_INTERNAL),myOpe(LocOpe_INVALID)
 {}
 
 
@@ -40,7 +40,7 @@ inline LocOpe_Gluer::LocOpe_Gluer () :
 
 inline LocOpe_Gluer::LocOpe_Gluer (const TopoDS_Shape& Sbase,
                               const TopoDS_Shape& Snew) :
-   myDone(Standard_False),mySb(Sbase),mySn(Snew),myOri(TopAbs_INTERNAL)
+   myDone(Standard_False),mySb(Sbase),mySn(Snew),myOri(TopAbs_INTERNAL),myOpe(LocOpe_INVALID)
 {}
 
 
index 54ba6f50d161ef358b48417d39438815df471e02..8a7f006d7e3a2309978ae0e71cb5b6245003d498 100755 (executable)
@@ -624,10 +624,11 @@ static ERROR_TABLE fileNodeErrorTable[] = {
 
 static Standard_Integer _get_comm_error ( DWORD );
 
-OSD_Error :: OSD_Error () {
-
+OSD_Error :: OSD_Error () : 
+   myCode((OSD_WhoAmI)0),
+   extCode(0)
+{
  Reset ();
-
 }  // end constructor ( 1 )
 
 void OSD_Error :: Perror () {
index c1be338ab990bc3db6d9ca0a45eabed74c12a685..c991034c53c8a09f4ebde2e83fbb1e70dc897b9a 100755 (executable)
@@ -1042,7 +1042,10 @@ OSD_Path :: OSD_Path () {
 OSD_Path ::  OSD_Path (
               const TCollection_AsciiString& aDependentName,
               const OSD_SysType aSysType
-             ) {
+                         ) :
+  myUNCFlag(Standard_False),
+  SysDep(OSD_WindowsNT)
+{
 
  Standard_Integer        i, j, len;
  static char __drive [ _MAX_DRIVE ];
@@ -1106,7 +1109,10 @@ OSD_Path :: OSD_Path (
              const TCollection_AsciiString& aTrek,
              const TCollection_AsciiString& aName,
              const TCollection_AsciiString& anExtension
-            ) {
+                        ) :
+  myUNCFlag(Standard_False),
+  SysDep(OSD_WindowsNT)
+{
 
  SetValues ( aNode, aUsername, aPassword, aDisk, aTrek, aName, anExtension );
 
index 82a295bae5e0ec9e67a5b72c6e09bab84d2c86ca..042f9372af2216204d3f26916087e29d5d4054b0 100644 (file)
@@ -110,6 +110,7 @@ OpenGl_TextFormatter::OpenGl_TextFormatter()
   myLinesNb (0),
   myRectLineStart (0),
   myRectWordStart (0),
+  myNewLineNb(0),
   myPenCurrLine (0.0f),
   myLineLeft (0.0f),
   myLineTail (0.0f),
index bca03a03101c956993bf1e486066eb2f47e4a4f1..87d54f9af10557666d100477783dad0141ff0719 100755 (executable)
@@ -31,7 +31,9 @@ static const Standard_Integer DegeneratedMask     = 4;
 //purpose  : 
 //=======================================================================
 
-PBRep_TEdge::PBRep_TEdge() 
+PBRep_TEdge::PBRep_TEdge() : 
+    myTolerance(0.),
+    myFlags(0)
 {
 }
 
index b6dc23cc71e5fc204ccb7e202873ef3ab027ee2a..eee2922d002437bb53ef35f91250841b8c3553aa 100755 (executable)
@@ -34,7 +34,9 @@ enum {
 //purpose  : 
 //=======================================================================
 
-PBRep_TEdge1::PBRep_TEdge1() 
+PBRep_TEdge1::PBRep_TEdge1() : 
+    myTolerance(0.),
+    myFlags(0)
 {
 }
 
index 134061bf03de152259fa1c60b7ae02b22a76f254..b350ca7075161228b9e9b947c975aa189a281fb3 100755 (executable)
@@ -29,7 +29,8 @@
 //=======================================================================
 
 PBRep_TFace::PBRep_TFace() :
-       myNaturalRestriction(Standard_False)
+    myTolerance(0.),
+    myNaturalRestriction(Standard_False)
 {
 }
 
index 4c0747117aba30b0a6f4215f1d6ac5522777f5b2..5e2da114a8f95ad2fd95c8b9f0a68e2a48a0c1d3 100755 (executable)
@@ -29,7 +29,8 @@
 //=======================================================================
 
 PBRep_TFace1::PBRep_TFace1() :
-       myNaturalRestriction(Standard_False)
+    myTolerance(0.),
+    myNaturalRestriction(Standard_False)
 {
 }
 
index 111f46d76bf59e18b49761c35300389886b6a8f5..314ca9b259fdee4581c20f3e18cf8fd29d704ac0 100755 (executable)
@@ -28,7 +28,7 @@
 //purpose  : 
 //=======================================================================
 
-PBRep_TVertex::PBRep_TVertex() 
+PBRep_TVertex::PBRep_TVertex() : myTolerance(0.) 
 {
 }
 
index 1d8ebd364673b68de39b28e8eae9c5c08f7dd09c..15868ce3549c32630f803ddbd6d2d7363a292efb 100755 (executable)
@@ -28,7 +28,7 @@
 //purpose  : 
 //=======================================================================
 
-PBRep_TVertex1::PBRep_TVertex1() 
+PBRep_TVertex1::PBRep_TVertex1() : myTolerance(0.)
 {
 }
 
index d39f71c344d2c0565a8b5991d7abf70cb21ef4a2..1f928d921c98820194a2190a2496bbd91113faee 100755 (executable)
@@ -36,7 +36,9 @@
 //purpose  : 
 //=======================================================================
 
-PCDM_ReferenceIterator::PCDM_ReferenceIterator (const Handle(CDM_MessageDriver)& theMsgDriver) {
+PCDM_ReferenceIterator::PCDM_ReferenceIterator (const Handle(CDM_MessageDriver)& theMsgDriver) :
+      myIterator(0)
+{
   myMessageDriver = theMsgDriver;
 }
 
index e13e70ac32a5893117e15555f4d69af6d76adec0..ffc8d44cf0bb74c35bf0abbfd761c5d7250f21f2 100755 (executable)
@@ -33,9 +33,9 @@
 //purpose  : 
 //=======================================================================
 
-PDF_Data::PDF_Data() :
-myVersion(0)
-{}
+PDF_Data::PDF_Data() : myVersion(0)
+{
+}
 
 //=======================================================================
 //function : PDF_Data
index 3b61016b30ee12848e875af4aa433384b1ac6578..08fadd544f88addc679d7f646b9b54dd1f79a19e 100755 (executable)
@@ -17,7 +17,7 @@
 
 #include <PDF_TagSource.ixx>
 
-PDF_TagSource::PDF_TagSource() { }
+PDF_TagSource::PDF_TagSource() : myValue (0) { }
 
 PDF_TagSource::PDF_TagSource(const Standard_Integer V)
 : myValue (V) {}
index 10e08440583aa9aced697f0afe398b67e6e86f0c..1775ff7bd90ebecdf59cb2fce2dece76da6e0e11 100755 (executable)
@@ -24,7 +24,9 @@
 //function : PDataStd_BooleanArray
 //purpose  : 
 //=======================================================================
-PDataStd_BooleanArray::PDataStd_BooleanArray() 
+PDataStd_BooleanArray::PDataStd_BooleanArray() :
+    myLower(0),
+    myUpper(0)
 { 
 
 }
index 03bf28d4e8b776bdbb3ef31d0493a4b8098e9c92..08213cd98af73d3bbb7b7e707a14f42dd85dcec6 100755 (executable)
@@ -24,7 +24,7 @@
 //function : PDataStd_ByteArray_1
 //purpose  : 
 //=======================================================================
-PDataStd_ByteArray_1::PDataStd_ByteArray_1() {}
+PDataStd_ByteArray_1::PDataStd_ByteArray_1() : myDelta(Standard_False) {}
 
 //=======================================================================
 //function : Set
index 1b0831de6704ea06c37934c8deb6a8bf967e6560..d9cd5ee6c7fccfac4a2f45094ed8f542a6ca8c62 100755 (executable)
@@ -26,7 +26,7 @@
 //purpose  : 
 //=======================================================================
 
-PDataStd_ExtStringArray_1::PDataStd_ExtStringArray_1 () { }
+PDataStd_ExtStringArray_1::PDataStd_ExtStringArray_1 () : myDelta(Standard_False) { }
 
 //=======================================================================
 //function : Init
index 40af4a90dd8838fac02d09c57fdeb58f506bc71c..98d3da66ecd4c1ccee60d1875c44e44a6f7e0c93 100755 (executable)
@@ -26,7 +26,7 @@
 //function : PDataStd_IntPackedMap_1
 //purpose  : Constructor
 //=======================================================================
-PDataStd_IntPackedMap_1::PDataStd_IntPackedMap_1() {}
+PDataStd_IntPackedMap_1::PDataStd_IntPackedMap_1() : myDelta(Standard_False) {}
 
 //=======================================================================
 //function : Init
index e95a30fd8b2df9fd8025c6a9046877d84f6fb497..70741728434680498c0b068665ce7c25be118b85 100755 (executable)
@@ -28,7 +28,7 @@
 //purpose  : 
 //=======================================================================
 
-PDataStd_Integer::PDataStd_Integer () {}
+PDataStd_Integer::PDataStd_Integer () : myValue(0) {}
 
 
 //=======================================================================
index 0fe505650fde38461d146f272014dd724fada807..0f1f6d7777b32aa8f2526ab829e6d0ea846b27d5 100755 (executable)
@@ -25,7 +25,7 @@
 //purpose  : 
 //=======================================================================
 
-PDataStd_IntegerArray_1::PDataStd_IntegerArray_1 () { }
+PDataStd_IntegerArray_1::PDataStd_IntegerArray_1 () : myDelta(Standard_False) { }
 
 //=======================================================================
 //function : Init
index 3198fd863e71dfd25de7798bdb4b98ffae0bb59e..5ecddd50c3fb4ab11dc34ab36c64eab7adf51d21 100755 (executable)
@@ -27,8 +27,7 @@
 //purpose  : 
 //=======================================================================
 
-PDataStd_Real::PDataStd_Real () { }
-
+PDataStd_Real::PDataStd_Real () : myValue(0.),myDimension(0) { }
 
 
 //=======================================================================
index dc551773f2c40f0426b9c05a71bd6b9a986a48d2..0704956452f52273d93dfbeccbb2c0082160623a 100755 (executable)
@@ -25,7 +25,7 @@
 //purpose  : 
 //=======================================================================
 
-PDataStd_RealArray_1::PDataStd_RealArray_1 () { }
+PDataStd_RealArray_1::PDataStd_RealArray_1 () : myDelta(Standard_False) { }
 
 //=======================================================================
 //function : Init
index baa78a39c03041dc6feac1d41479df1e11691a74..505ebd0cc378460ae4c7d25a5f6e8f2d29d3575e 100755 (executable)
@@ -26,7 +26,7 @@
 //purpose  : 
 //=======================================================================
 
-PDataStd_Variable::PDataStd_Variable()
+PDataStd_Variable::PDataStd_Variable() : isConstant(Standard_False)
 {
 }
 
index f2756cf1cafa5498061ddac45a429eb71cf7c6fb..0a4c3ba4699d1cec843ffea3902070a23ea860f5 100755 (executable)
 
 
 
-PDataXtd_Constraint::PDataXtd_Constraint () { }
+PDataXtd_Constraint::PDataXtd_Constraint () : 
+    myType(0),
+    myIsReversed(Standard_False),
+    myIsInverted(Standard_False),
+    myIsVerified(Standard_False)
+{ }
 
 PDataXtd_Constraint::PDataXtd_Constraint(const Standard_Integer Type,
                                         const Handle(PDF_HAttributeArray1)& Geometries,
index 602d3c7c5733b5c8c63a7883c8274bf72681408c..2fd6db8356b6fcce14cf777f688b7e44a19dbc90 100755 (executable)
@@ -22,7 +22,7 @@
 
 #include <PDataXtd_Geometry.ixx>
 
-PDataXtd_Geometry::PDataXtd_Geometry () { }
+PDataXtd_Geometry::PDataXtd_Geometry () : myType(0) { }
 
 PDataXtd_Geometry::PDataXtd_Geometry (const Standard_Integer Type) : myType (Type) {}
 
index 680fe5e3fdb4bec781388822f48159901aed8eea..50b93d9232c799924df45e0f9db90a490cc01e56 100755 (executable)
@@ -22,6 +22,9 @@
 
 #include <PDataXtd_PatternStd.ixx>
 
-PDataXtd_PatternStd::PDataXtd_PatternStd()
+PDataXtd_PatternStd::PDataXtd_PatternStd() :
+    mySignature(0),
+    myAxis1Reversed(Standard_False),
+    myAxis2Reversed(Standard_False)
 {
 }
index 515e76dc56429a37da356e0ce2a131b4bf00a3db..1e14534196e264aa958c013004e83c938e5bc5e5 100755 (executable)
@@ -28,7 +28,6 @@
 //purpose  : 
 //=======================================================================
 
-PNaming_Name::PNaming_Name() 
-:myType(0),myShapeType(0),myIndex(0)
+PNaming_Name::PNaming_Name() : myType(0), myShapeType(0), myIndex(0)
 {
 }
index f92bd4652259e00a4f189834ec6b3a31e7ecabab..06aaeb075d3f9b729a68c225b0412ecdf0f0b5d9 100755 (executable)
@@ -26,7 +26,6 @@
 //purpose  : 
 //=======================================================================
 
-PNaming_Name_1::PNaming_Name_1() 
-:myType(0),myShapeType(0),myIndex(0)
+PNaming_Name_1::PNaming_Name_1() : myType(0), myShapeType(0), myIndex(0)
 {
 }
index 310f0af892e3b7c6578184605ef88cebf9cc19a5..70d4ac251513a1f21a7a76de10bb69f4a5354331 100644 (file)
@@ -26,7 +26,6 @@
 //purpose  : 
 //=======================================================================
 
-PNaming_Name_2::PNaming_Name_2() 
-:myType(0),myShapeType(0),myIndex(0), myOrientation(0)
+PNaming_Name_2::PNaming_Name_2() : myType(0), myShapeType(0), myIndex(0), myOrientation(0)
 {
 }
index fdd0439f0cc5eea5c19588c9d7580f6b0bb17274..6d5461e747655b2fcd6c3da6f780b022a4f04a19 100755 (executable)
@@ -27,8 +27,9 @@
 //purpose  : 
 //=======================================================================
 
-PNaming_NamedShape::PNaming_NamedShape() 
-:myShapeStatus(0),myVersion(0)
+PNaming_NamedShape::PNaming_NamedShape() :
+    myShapeStatus(0),
+       myVersion(0)
 {
 }
 
index 4f48b478e2b96a9f7414b57c668b4f5efda79924..f1bd87a945bd310f718adb68f0c7f3cb5dcea883 100755 (executable)
 //purpose  : 
 //=======================================================================
 
-PPrsStd_AISPresentation::PPrsStd_AISPresentation()
+PPrsStd_AISPresentation::PPrsStd_AISPresentation() :
+    myIsDisplayed(Standard_False),
+    myTransparency(0.),
+    myColor(0),
+    myMaterial(0),
+    myWidth(0.)
 {}
 
 
index e010c8d485d1ca0802ed65da38254f8dc7fd96a5..6fde3f2f35dcb70c0abc3694419fc14ff0c7228b 100755 (executable)
 //purpose  : 
 //=======================================================================
 
-PPrsStd_AISPresentation_1::PPrsStd_AISPresentation_1()
+PPrsStd_AISPresentation_1::PPrsStd_AISPresentation_1() :
+    myIsDisplayed(Standard_False),
+    myTransparency(0.),
+    myColor(0),
+    myMaterial(0),
+    myWidth(0.),
+    myMode(0)
 {
-  myMode=0;
 }
 
 
index 94566d6ffbf315d7dd895128d6fd6f6a5c142291..a485c27b3bb31edeb716f75a70753cfbdb7e4512 100755 (executable)
@@ -27,7 +27,7 @@
 //=======================================================================
 
 PTopoDS_HShape::PTopoDS_HShape() :
-       myOrient(TopAbs_FORWARD)
+   myOrient(TopAbs_FORWARD)
 {
 }
 
index be86a024fd739eff41882e1a962682b733bd0e8a..be462612f074a2fb49258035d1181ecf0e689f4d 100755 (executable)
@@ -32,9 +32,9 @@
 //purpose  : 
 //=======================================================================
 
-PTopoDS_Shape1::PTopoDS_Shape1()
-: myOrient(TopAbs_FORWARD)
-{}
+PTopoDS_Shape1::PTopoDS_Shape1() : myOrient(TopAbs_FORWARD)
+{
+}
 
 
 //=======================================================================
index 782c2401a7a6eaf8ec48469992ec7c7a6c585b99..30616446c61a9a026c8ba8cbe21f046bcabea106 100755 (executable)
@@ -36,8 +36,7 @@ static const Standard_Integer ConvexMask     = 64;
 //purpose  : 
 //=======================================================================
 
-PTopoDS_TShape::PTopoDS_TShape() :
-       myFlags(0)
+PTopoDS_TShape::PTopoDS_TShape() : myFlags(0)
 {
   // UPDATE FMA - 28-11-95
   // These two flags are always set to the Transient Value
index f7cd3825e7819e5ba8fe80dbbfb680cef4e26129..0892ffcd76d8d7761d3f25a6890dc18fd7f5562e 100755 (executable)
@@ -26,7 +26,7 @@
 //purpose  : 
 //=======================================================================
 
-PXCAFDoc_Area::PXCAFDoc_Area () { }
+PXCAFDoc_Area::PXCAFDoc_Area () : myValue(0.) { }
 
 //=======================================================================
 //function : PXCAFDoc_Area
index c427ab4bf2912815fd4bea8f523343f9ffa63dbb..3552ad1f5577087b73ff0db885d4dd887074245d 100755 (executable)
@@ -25,7 +25,7 @@
 //purpose  : 
 //=======================================================================
 
-PXCAFDoc_DimTol::PXCAFDoc_DimTol ()
+PXCAFDoc_DimTol::PXCAFDoc_DimTol () : myKind(0)
 {}
 
 //=======================================================================
index 5f36268f82c07dc98837f6076e77b1ec644af13e..0c008990816e150b755675a9be8fd77af223cdd6 100755 (executable)
@@ -25,7 +25,7 @@
 //purpose  : 
 //=======================================================================
 
-PXCAFDoc_Material::PXCAFDoc_Material ()
+PXCAFDoc_Material::PXCAFDoc_Material () : myDensity(0.)
 {}
 
 //=======================================================================
index 083d8554559775badba5538ae0613dcd92bdac67..09dec8f7384967948d0516bc7e135dc50f48af93 100755 (executable)
@@ -26,7 +26,7 @@
 //purpose  : 
 //=======================================================================
 
-PXCAFDoc_Volume::PXCAFDoc_Volume () { }
+PXCAFDoc_Volume::PXCAFDoc_Volume () : myValue(0.) { }
 
 //=======================================================================
 //function : PXCAFDoc_Volume
index 069b9f1c475f0e4a2c5be99d9225b928997d0653..bbfefa11b62c9866e4c5ee281bba331b64840e2e 100755 (executable)
@@ -379,6 +379,10 @@ static void  PerformApprox (const Handle(Adaptor3d_HCurve)& C,
 //=======================================================================
 
 ProjLib_ProjectOnPlane::ProjLib_ProjectOnPlane() :
+myKeepParam(Standard_False),
+myFirstPar(0.),
+myLastPar(0.),
+myTolerance(0.),
 myType     (GeomAbs_OtherCurve),
 myIsApprox (Standard_False)
 {
@@ -392,6 +396,10 @@ myIsApprox (Standard_False)
 ProjLib_ProjectOnPlane::ProjLib_ProjectOnPlane(const gp_Ax3& Pl) : 
 myPlane     (Pl)                ,
 myDirection (Pl.Direction())    ,
+myKeepParam(Standard_False),
+myFirstPar(0.),
+myLastPar(0.),
+myTolerance(0.),
 myType      (GeomAbs_OtherCurve),
 myIsApprox  (Standard_False)
 {
@@ -406,6 +414,10 @@ ProjLib_ProjectOnPlane::ProjLib_ProjectOnPlane(const gp_Ax3& Pl,
                                               const gp_Dir& D  ) :
 myPlane     (Pl)                ,
 myDirection (D)                 ,
+myKeepParam(Standard_False),
+myFirstPar(0.),
+myLastPar(0.),
+myTolerance(0.),
 myType      (GeomAbs_OtherCurve),
 myIsApprox  (Standard_False)
 {
index 6eb1906ab4ee03afd911b2810ab59767cc5536f7..f7204a75a7ad32f6a1c6e007cb264a9f22e91fb9 100755 (executable)
@@ -227,6 +227,7 @@ STEPCAFControl_Reader::STEPCAFControl_Reader ():
        myNameMode ( Standard_True ),
        myLayerMode( Standard_True ),
        myPropsMode( Standard_True ),
+          mySHUOMode ( Standard_False ),
        myGDTMode  ( Standard_True ),
        myMatMode  ( Standard_True )
 {
@@ -246,6 +247,7 @@ STEPCAFControl_Reader::STEPCAFControl_Reader (const Handle(XSControl_WorkSession
        myNameMode ( Standard_True ),
        myLayerMode( Standard_True ),
        myPropsMode( Standard_True ),
+          mySHUOMode ( Standard_False ),
        myGDTMode  ( Standard_True ),
        myMatMode  ( Standard_True )
 {
index 402251a4db830d44e3c8d69c0ee85ebd1edee8af..1d49d6e7e3bd820bf8971f2ebdb462f247813446 100755 (executable)
@@ -23,7 +23,8 @@
 
 #if ! defined(NO_CXX_EXCEPTION) && ! defined(OCC_CONVERT_SIGNALS)
 
-inline Standard_ErrorHandlerCallback::Standard_ErrorHandlerCallback () 
+inline Standard_ErrorHandlerCallback::Standard_ErrorHandlerCallback ()
+               : myHandler(0), myPrev(0), myNext(0) 
 {
 }
 
index 5e0522f36c18eca6e5880936477f9e30a85b94d4..1d45877cb3e8ccee42247f8f9776475a0a940f75 100755 (executable)
 
 #include <StepVisual_DirectionCountSelect.hxx>
 
-StepVisual_DirectionCountSelect::StepVisual_DirectionCountSelect() {}
+StepVisual_DirectionCountSelect::StepVisual_DirectionCountSelect() :
+    theUDirectionCount(0),
+    theVDirectionCount(0),
+    theTypeOfContent(0)
+{}
 
 void StepVisual_DirectionCountSelect::SetTypeOfContent(const Standard_Integer aType)
 {
index fe738e096ba5e04a2a9ee8784496ebb26fb92ed6..44623c145f1dbfc59568b03b124dd6cd50ee9655 100755 (executable)
@@ -214,7 +214,9 @@ static Standard_Boolean ValidArgs(const TNaming_ListOfNamedShape& Args)
 //purpose  : 
 //=======================================================================
 
-TNaming_Name::TNaming_Name():myIndex(-1)
+TNaming_Name::TNaming_Name() : 
+   myType(TNaming_UNKNOWN),
+   myIndex(-1)
 {
 }
 
index 4c1fdbfdc6ad8ed3c95fbc56c892d1fcf5b907be..7cec2276451463e46ff7343706bb4c11d823118b 100755 (executable)
@@ -48,7 +48,7 @@ Handle(TObj_Application) TObj_Application::GetInstance()
 //purpose  : 
 //=======================================================================
 
-TObj_Application::TObj_Application ()
+TObj_Application::TObj_Application () : myIsError(Standard_False)
 {
   myMessenger = new Message_Messenger;
   myMessageDriver = new CDM_COutMessageDriver;
index 0933d807122d0369a1859972a9af1d43b527fd0d..9343fa60845f66118b6d024f8fece6c43eb8ea1b 100755 (executable)
@@ -28,7 +28,9 @@
 
 
 TestTopOpe_BOOP::TestTopOpe_BOOP(const char* keys[],
-                                const char* resnamdef)
+                                                                const char* resnamdef) :
+      mynmet(0),
+      myESP(Standard_False)
 {
   Standard_Integer i;
   for (i=0;i<TESTTOPOPE_NKEYS; i++) mykeys[i] = keys[i]; 
index 9f40faf94c5d634897ee10b5612653312381e556..9355bd21f20395c19a9750e5a1712416dfc42e54 100755 (executable)
@@ -28,7 +28,7 @@
 # include <strings.h>
 #endif
 
-VarsTopo::VarsTopo()
+VarsTopo::VarsTopo() : mytolarc(0.), mytoltan(0.)
 {
   Init();
 }
index 2271b4f6f7c795fa65c950bab4c7832b531bce46..3013e0cb01ce2d7bc5aff9c2fc1b4b93975d66fc 100755 (executable)
 
 inline TopOpeBRep_LineInter::TopOpeBRep_LineInter() :
   myOK(Standard_True),
-  //myIndex, myNbVPoint,
+  myIndex(0), myNbVPoint(0),
   myIsVClosed(Standard_False),
   myHasVPonR(Standard_False),
   myINL(Standard_False),
-  myVPBDefined(Standard_False)
-  //myVPF, myVPL, myVPN,
-  //myTypeLineCurve, myLineTonF1, myLineTonF2
+  myVPBDefined(Standard_False),
+  myVPF(0), myVPL(0), myVPN(0),
+  myTypeLineCurve(TopOpeBRep_OTHERTYPE),
+  myexF1(0),myexF2(0)
+  //myLineTonF1, myLineTonF2
 {
 }
 
index 7887ea93036fb428b5b957c6af53fb2cefd0770c..e8e07d0096833ecfeb1e33c159b918b47af33cdf 100755 (executable)
@@ -33,7 +33,7 @@ inline TopOpeBRep_VPointInter::TopOpeBRep_VPointInter() :
   myState1(TopAbs_UNKNOWN),
   myState2(TopAbs_UNKNOWN),
   myKeep(Standard_False),
-  //myEdgeONPar1, myEdgeONPar2,
+  myEdgeONPar1(0.), myEdgeONPar2(0.),
   myIndex(0),
   myS1(0),myS2(0)
 {
index 283a5ea24f594c4bdbcb71d55ef0b5e4086ebdea..979c29820e3f1d60bb6787dc82f92e1eea45c1b4 100755 (executable)
 //purpose  : 
 //=======================================================================
 
-inline TopOpeBRepBuild_FuseFace::TopOpeBRepBuild_FuseFace ():myDone(Standard_False)
+inline TopOpeBRepBuild_FuseFace::TopOpeBRepBuild_FuseFace () : 
+      myInternal(Standard_False), 
+      myModified(Standard_False),
+      myDone(Standard_False)
 {}
 
 
index 34bc635a22a29c4de4280b9c4bff6dac9d347274..67cd6cc36c3144265c3ddda3556a72b6ef04f926 100755 (executable)
@@ -48,7 +48,8 @@ TopOpeBRepDS_DataStructure::TopOpeBRepDS_DataStructure() :
 myNbSurfaces(0),
 myNbCurves(0),
 myNbPoints(0),
-myIsfafa(Standard_False)
+myIsfafa(Standard_False),
+myI(0)
 {
 }
 
index 551f95a19b2d0f6e3118ff8c665ffa8b534f43d6..1c08ca7343e2e290b50d1c88b61214a177c5bff2 100755 (executable)
@@ -42,7 +42,8 @@ class VrmlData_TextureTransform : public VrmlData_Node
    */
   inline VrmlData_TextureTransform (const VrmlData_Scene& theScene,
                                     const char            * theName)
-    : VrmlData_Node (theScene, theName)
+    : VrmlData_Node (theScene, theName),
+         myRotation(0.)
   {}
 
   /**