1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis

Added initialization of fields that had not initialization
Added default constructors to classes without constructors
This commit is contained in:
mkrylova
2020-07-17 13:08:31 +03:00
committed by bugmaster
parent 078f916446
commit d533dafb56
293 changed files with 1790 additions and 304 deletions

View File

@@ -61,7 +61,9 @@ class VrmlData_ShapeConvert
inline VrmlData_ShapeConvert (VrmlData_Scene& theScene,
const Standard_Real theScale = 1.)
: myScene (theScene),
myScale (theScale)
myScale (theScale),
myDeflection(0.0),
myDeflAngle(0.0)
{}
/**

View File

@@ -29,7 +29,10 @@ class VrmlData_TextureTransform : public VrmlData_Node
/**
* Empty constructor
*/
inline VrmlData_TextureTransform () {}
inline VrmlData_TextureTransform ()
: myRotation(0.0)
{
}
/**
* Constructor