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
+5 -1
View File
@@ -18,7 +18,11 @@
#include <gp_Vec2d.hxx>
#include <IntSurf_InteriorPoint.hxx>
IntSurf_InteriorPoint::IntSurf_InteriorPoint () {}
IntSurf_InteriorPoint::IntSurf_InteriorPoint ()
: paramu(0.0),
paramv(0.0)
{
}
IntSurf_InteriorPoint::IntSurf_InteriorPoint (const gp_Pnt& P,
+3 -2
View File
@@ -28,8 +28,9 @@
// ============================================================
IntSurf_Quadric::IntSurf_Quadric ():typ(GeomAbs_OtherSurface),
prm1(0.), prm2(0.), prm3(0.), prm4(0.)
{}
prm1(0.), prm2(0.), prm3(0.), prm4(0.), ax3direc(Standard_False)
{
}
// ============================================================
IntSurf_Quadric::IntSurf_Quadric (const gp_Pln& P):
ax3(P.Position()),typ(GeomAbs_Plane)