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:
@@ -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)
|
||||
{}
|
||||
|
||||
/**
|
||||
|
@@ -29,7 +29,10 @@ class VrmlData_TextureTransform : public VrmlData_Node
|
||||
/**
|
||||
* Empty constructor
|
||||
*/
|
||||
inline VrmlData_TextureTransform () {}
|
||||
inline VrmlData_TextureTransform ()
|
||||
: myRotation(0.0)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
Reference in New Issue
Block a user