0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
[occt.git] / src / BRepExtrema / BRepExtrema_DistShapeShape.cxx
index c98a271..13efe95 100644 (file)
@@ -80,7 +80,12 @@ namespace
     Standard_Real    Distance; //!< Distance between sub-shapes
 
     //! Uninitialized constructor for collection.
-    BRepExtrema_CheckPair() {}
+    BRepExtrema_CheckPair()
+    : Index1(0),
+      Index2(0),
+      Distance(0.0)
+    {
+    }
 
     //! Creates new pair of sub-shapes.
     BRepExtrema_CheckPair (Standard_Integer theIndex1,