0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
[occt.git] / src / StepToTopoDS / StepToTopoDS_Tool.cxx
index 40ae677..28d0ff6 100644 (file)
 // Method  : StepToTopoDS_Tool::StepToTopoDS_Tool
 // Purpose : Empty Constructor
 // ============================================================================
-StepToTopoDS_Tool::StepToTopoDS_Tool() {}
+StepToTopoDS_Tool::StepToTopoDS_Tool()
+: myComputePC(Standard_False),
+  myNbC0Surf(0),
+  myNbC1Surf(0),
+  myNbC2Surf(0),
+  myNbC0Cur2(0),
+  myNbC1Cur2(0),
+  myNbC2Cur2(0),
+  myNbC0Cur3(0),
+  myNbC1Cur3(0),
+  myNbC2Cur3(0)
+{
+}
 
 // ============================================================================
 // Method  : StepToTopoDS_Tool::StepToTopoDS_Tool