1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +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

@@ -56,6 +56,9 @@ const AppParCurves_Constraint LastC)
myInvOrder = Standard_True;
myHangChecking = Standard_True;
alldone = Standard_False;
tolreached = Standard_False;
currenttol3d = 0.0;
currenttol2d = 0.0;
Perform(Line);
}
@@ -84,6 +87,9 @@ const AppParCurves_Constraint LastC)
myMaxSegments = MAXSEGM;
myInvOrder = Standard_True;
myHangChecking = Standard_True;
tolreached = Standard_False;
currenttol3d = 0.0;
currenttol2d = 0.0;
}
//=======================================================================

View File

@@ -133,6 +133,8 @@ Approx_CurvilinearParameter::Approx_CurvilinearParameter(const Handle(Adaptor3d_
const GeomAbs_Shape Order,
const Standard_Integer MaxDegree,
const Standard_Integer MaxSegments)
: myMaxError2d1(0.0),
myMaxError2d2(0.0)
{
#ifdef OCCT_DEBUG_CHRONO
t_total = t_init = t_approx = t_uparam = 0;