0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
[occt.git] / src / IntRes2d / IntRes2d_IntersectionSegment.cxx
index 45ecdc1..41d296c 100644 (file)
 #include <IntRes2d_IntersectionSegment.hxx>
 #include <Standard_DomainError.hxx>
 
-IntRes2d_IntersectionSegment::IntRes2d_IntersectionSegment ():
-  
-  ptfirst(),ptlast() {  }
+IntRes2d_IntersectionSegment::IntRes2d_IntersectionSegment ()
+: oppos(Standard_False),
+  first(Standard_False),
+  last(Standard_False)
+{
+}