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

0031821: Coding - Uninitialized variables in TKFillet project

Some variables that remain uninitialized in the project TKFillet received proper initializers.
This commit is contained in:
tiv
2020-10-05 09:52:31 +03:00
committed by bugmaster
parent 809a2e13f8
commit 50ae6dad80
12 changed files with 111 additions and 37 deletions

View File

@@ -39,10 +39,14 @@
//function : ChFiDS_ElSpine
//purpose :
//=======================================================================
ChFiDS_ElSpine::ChFiDS_ElSpine():periodic(0)
ChFiDS_ElSpine::ChFiDS_ElSpine()
: pfirst (0.0),
plast (0.0),
period (0.0),
periodic (Standard_False),
pfirstsav (Precision::Infinite()),
plastsav (Precision::Infinite())
{
pfirstsav = Precision::Infinite();
plastsav = Precision::Infinite();
}