0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
[occt.git] / src / LocOpe / LocOpe_WiresOnShape.cxx
index 3bbfc98..d3fbe5e 100644 (file)
@@ -108,9 +108,13 @@ static void FindInternalIntersections(const TopoDS_Edge&,
 //purpose  : 
 //=======================================================================
 
-LocOpe_WiresOnShape::LocOpe_WiresOnShape(const TopoDS_Shape& S):
-  myShape(S),myCheckInterior(Standard_True),myDone(Standard_False)
-{}
+LocOpe_WiresOnShape::LocOpe_WiresOnShape(const TopoDS_Shape& S)
+: myShape(S),
+  myCheckInterior(Standard_True),
+  myDone(Standard_False),
+  myIndex(-1)
+{
+}
 
 //=======================================================================
 //function : Init