1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024275: Cppcheck warnings on uninitialized class members

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
This commit is contained in:
ski
2013-11-14 11:08:41 +04:00
committed by bugmaster
parent e79a94b9a5
commit c24d401753
78 changed files with 285 additions and 102 deletions

View File

@@ -31,7 +31,9 @@ static const Standard_Integer DegeneratedMask = 4;
//purpose :
//=======================================================================
PBRep_TEdge::PBRep_TEdge()
PBRep_TEdge::PBRep_TEdge() :
myTolerance(0.),
myFlags(0)
{
}

View File

@@ -34,7 +34,9 @@ enum {
//purpose :
//=======================================================================
PBRep_TEdge1::PBRep_TEdge1()
PBRep_TEdge1::PBRep_TEdge1() :
myTolerance(0.),
myFlags(0)
{
}

View File

@@ -29,7 +29,8 @@
//=======================================================================
PBRep_TFace::PBRep_TFace() :
myNaturalRestriction(Standard_False)
myTolerance(0.),
myNaturalRestriction(Standard_False)
{
}

View File

@@ -29,7 +29,8 @@
//=======================================================================
PBRep_TFace1::PBRep_TFace1() :
myNaturalRestriction(Standard_False)
myTolerance(0.),
myNaturalRestriction(Standard_False)
{
}

View File

@@ -28,7 +28,7 @@
//purpose :
//=======================================================================
PBRep_TVertex::PBRep_TVertex()
PBRep_TVertex::PBRep_TVertex() : myTolerance(0.)
{
}

View File

@@ -28,7 +28,7 @@
//purpose :
//=======================================================================
PBRep_TVertex1::PBRep_TVertex1()
PBRep_TVertex1::PBRep_TVertex1() : myTolerance(0.)
{
}