0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
[occt.git] / src / IntAna2d / IntAna2d_AnaIntersection.cxx
index f991977..b645b33 100644 (file)
 #include <Standard_OutOfRange.hxx>
 #include <StdFail_NotDone.hxx>
 
-IntAna2d_AnaIntersection::IntAna2d_AnaIntersection () {
-
-  done = Standard_False;
+IntAna2d_AnaIntersection::IntAna2d_AnaIntersection ()
+: done(Standard_False),
+  para(Standard_False),
+  iden(Standard_False),
+  empt(Standard_True),
+  nbp(0)
+{
 }
 
 IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Lin2d& L1,