0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
authormkrylova <mkrylova@opencascade.com>
Fri, 17 Jul 2020 10:08:31 +0000 (13:08 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 23 Jul 2020 13:08:20 +0000 (16:08 +0300)
commitd533dafb565d4727bccf2fbcfee508a62c3673f5
treebfaab99ee09df62a2191311b2b9f63252354232d
parent078f916446778562978876c9e90f168ed5e3483d
0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis

Added initialization of fields that had not initialization
Added default constructors to classes without constructors
293 files changed:
src/Adaptor3d/Adaptor3d_HVertex.cxx
src/Adaptor3d/Adaptor3d_TopolTool.cxx
src/AdvApp2Var/AdvApp2Var_Context.cxx
src/AppBlend/AppBlend_AppSurf.gxx
src/AppDef/AppDef_LinearCriteria.cxx
src/AppParCurves/AppParCurves_ConstraintCouple.cxx
src/AppParCurves/AppParCurves_Gradient.gxx
src/AppParCurves/AppParCurves_MultiBSpCurve.cxx
src/AppParCurves/AppParCurves_MultiPoint.cxx
src/Approx/Approx_ComputeCLine.gxx
src/Approx/Approx_CurvilinearParameter.cxx
src/ApproxInt/ApproxInt_ImpPrmSvSurfaces.gxx
src/ApproxInt/ApproxInt_PrmPrmSvSurfaces.gxx
src/BRepBlend/BRepBlend_CurvPointRadInv.cxx
src/BRepBlend/BRepBlend_Extremity.cxx
src/BRepBlend/BRepBlend_PointOnRst.cxx
src/BRepBlend/BRepBlend_RstRstConstRad.cxx
src/BRepBlend/BRepBlend_RstRstLineBuilder.cxx
src/BRepBlend/BRepBlend_SurfCurvConstRadInv.cxx
src/BRepBlend/BRepBlend_SurfPointConstRadInv.cxx
src/BRepBlend/BRepBlend_SurfRstConstRad.cxx
src/BRepBlend/BRepBlend_SurfRstLineBuilder.cxx
src/BRepBuilderAPI/BRepBuilderAPI_FastSewing.cxx
src/BRepCheck/BRepCheck_Face.cxx
src/BRepCheck/BRepCheck_Shell.cxx
src/BRepCheck/BRepCheck_Wire.cxx
src/BRepClass3d/BRepClass3d_Intersector3d.cxx
src/BRepClass3d/BRepClass3d_SClassifier.cxx
src/BRepClass3d/BRepClass3d_SolidClassifier.cxx
src/BRepClass3d/BRepClass3d_SolidExplorer.cxx
src/BRepExtrema/BRepExtrema_DistShapeShape.cxx
src/BRepFeat/BRepFeat_MakeDPrism.hxx
src/BRepFeat/BRepFeat_MakeLinearForm.lxx
src/BRepFeat/BRepFeat_MakePrism.lxx
src/BRepFeat/BRepFeat_MakeRevol.lxx
src/BRepFeat/BRepFeat_MakeRevolutionForm.lxx
src/BRepFeat/BRepFeat_RibSlot.lxx
src/BRepGProp/BRepGProp_Sinert.cxx
src/BRepGProp/BRepGProp_Vinert.cxx
src/BRepLib/BRepLib_FindSurface.cxx
src/BRepLib/BRepLib_MakeEdge.cxx
src/BRepLib/BRepLib_MakeWire.hxx
src/BRepMAT2d/BRepMAT2d_BisectingLocus.cxx
src/BRepMAT2d/BRepMAT2d_LinkTopoBilo.cxx
src/BRepMesh/BRepMesh_Delaun.cxx
src/BRepMesh/BRepMesh_DelaunayDeflectionControlMeshAlgo.hxx
src/BRepMesh/BRepMesh_EdgeParameterProvider.hxx
src/BRepMesh/BRepMesh_FaceChecker.cxx
src/BRepMesh/BRepMesh_FaceChecker.hxx
src/BRepMesh/BRepMesh_NURBSRangeSplitter.cxx
src/BRepMesh/BRepMesh_NURBSRangeSplitter.hxx
src/BRepTools/BRepTools_ReShape.cxx
src/BRepTools/BRepTools_WireExplorer.cxx
src/BRepTopAdaptor/BRepTopAdaptor_FClass2d.cxx
src/BRepTopAdaptor/BRepTopAdaptor_TopolTool.cxx
src/BVH/BVH_Distance.hxx
src/BVH/BVH_DistanceField.lxx
src/BVH/BVH_PairDistance.hxx
src/Bisector/Bisector_BisecCC.cxx
src/Bisector/Bisector_BisecPC.cxx
src/Bisector/Bisector_PointOnBis.cxx
src/BlendFunc/BlendFunc_CSConstRad.cxx
src/BlendFunc/BlendFunc_ChAsym.cxx
src/BlendFunc/BlendFunc_ChAsymInv.cxx
src/BlendFunc/BlendFunc_ConstRad.cxx
src/BlendFunc/BlendFunc_ConstRadInv.cxx
src/BlendFunc/BlendFunc_ConstThroat.cxx
src/BlendFunc/BlendFunc_ConstThroatInv.cxx
src/BlendFunc/BlendFunc_Corde.cxx
src/BlendFunc/BlendFunc_GenChamfInv.cxx
src/BlendFunc/BlendFunc_GenChamfer.cxx
src/BlendFunc/BlendFunc_Ruled.cxx
src/BlendFunc/BlendFunc_RuledInv.cxx
src/CDF/CDF_Store.cxx
src/CDM/CDM_MetaData.cxx
src/CDM/CDM_Reference.cxx
src/CPnts/CPnts_AbscissaPoint.cxx
src/CPnts/CPnts_UniformDeflection.cxx
src/Contap/Contap_ArcFunction.cxx
src/Contap/Contap_ContAna.cxx
src/Contap/Contap_Point.cxx
src/Contap/Contap_SurfFunction.cxx
src/DBRep/DBRep_HideData.cxx
src/Draw/Draw_Drawable3D.cxx
src/Draw/Draw_Interpretor.cxx
src/Draw/Draw_Marker2D.cxx
src/Draw/Draw_Marker3D.cxx
src/Draw/Draw_View.cxx
src/Draw/Draw_Window.cxx
src/Draw/Draw_Window.hxx
src/DrawDim/DrawDim_Dimension.cxx
src/Extrema/Extrema_ExtCC.cxx
src/Extrema/Extrema_ExtCC2d.cxx
src/Extrema/Extrema_ExtCS.cxx
src/Extrema/Extrema_ExtElC.cxx
src/Extrema/Extrema_ExtElC2d.cxx
src/Extrema/Extrema_ExtPExtS.cxx
src/Extrema/Extrema_ExtPS.cxx
src/Extrema/Extrema_ExtSS.cxx
src/Extrema/Extrema_FuncExtCS.cxx
src/Extrema/Extrema_FuncExtSS.cxx
src/Extrema/Extrema_FuncPSNorm.cxx
src/Extrema/Extrema_GLocateExtPC.gxx
src/Extrema/Extrema_GenExtCS.cxx
src/Extrema/Extrema_GenExtCS.hxx
src/Extrema/Extrema_GenExtPC.gxx
src/Extrema/Extrema_GenExtPS.cxx
src/Extrema/Extrema_GenExtSS.cxx
src/Extrema/Extrema_GenLocateExtCC.gxx
src/Extrema/Extrema_GenLocateExtCS.cxx
src/Extrema/Extrema_GenLocateExtPC.gxx
src/Extrema/Extrema_GenLocateExtSS.cxx
src/Extrema/Extrema_GlobOptFuncCC.cxx
src/Extrema/Extrema_LocateExtCC.cxx
src/Extrema/Extrema_LocateExtCC2d.cxx
src/FEmTool/FEmTool_ElementaryCriterion.cxx
src/FEmTool/FEmTool_ElementaryCriterion.hxx
src/FairCurve/FairCurve_EnergyOfBatten.cxx
src/FairCurve/FairCurve_EnergyOfMVC.cxx
src/GCPnts/GCPnts_QuasiUniformDeflection.cxx
src/GCPnts/GCPnts_TangentialDeflection.cxx
src/GCPnts/GCPnts_UniformDeflection.cxx
src/GProp/GProp_PEquation.cxx
src/Geom/Geom_OsculatingSurface.cxx
src/Geom2dAPI/Geom2dAPI_ProjectPointOnCurve.cxx
src/Geom2dGcc/Geom2dGcc_Circ2d2TanOn.cxx
src/Geom2dGcc/Geom2dGcc_Circ2d2TanOnIter.cxx
src/Geom2dGcc/Geom2dGcc_Circ2d3TanIter.cxx
src/Geom2dGcc/Geom2dGcc_Lin2d2TanIter.cxx
src/Geom2dGcc/Geom2dGcc_Lin2dTanObl.cxx
src/Geom2dGcc/Geom2dGcc_Lin2dTanOblIter.cxx
src/Geom2dHatch/Geom2dHatch_Elements.cxx
src/Geom2dHatch/Geom2dHatch_Hatching.cxx
src/Geom2dLProp/Geom2dLProp_CurAndInf2d.cxx
src/Geom2dLProp/Geom2dLProp_NumericCurInf2d.cxx
src/GeomAPI/GeomAPI_ExtremaCurveCurve.cxx
src/GeomAPI/GeomAPI_ExtremaCurveSurface.cxx
src/GeomAPI/GeomAPI_ExtremaSurfaceSurface.cxx
src/GeomAPI/GeomAPI_ProjectPointOnCurve.cxx
src/GeomAPI/GeomAPI_ProjectPointOnSurf.cxx
src/GeomFill/GeomFill_ConstrainedFilling.cxx
src/GeomFill/GeomFill_CornerState.cxx
src/GeomFill/GeomFill_Filling.cxx
src/GeomFill/GeomFill_Frenet.cxx
src/GeomFill/GeomFill_FunctionGuide.cxx
src/GeomFill/GeomFill_SectionPlacement.cxx
src/GeomFill/GeomFill_SweepSectionGenerator.cxx
src/GeomLib/GeomLib_Interpolate.cxx
src/GeomPlate/GeomPlate_Aij.cxx
src/GeomPlate/GeomPlate_CurveConstraint.cxx
src/GeomPlate/GeomPlate_PointConstraint.cxx
src/GeomPlate/GeomPlate_Surface.cxx
src/Graphic3d/Graphic3d_RenderingParams.hxx
src/HLRAlgo/HLRAlgo_BiPoint.hxx
src/HLRAlgo/HLRAlgo_EdgeIterator.cxx
src/HLRAlgo/HLRAlgo_Intersection.cxx
src/HLRAlgo/HLRAlgo_PolyAlgo.cxx
src/HLRAlgo/HLRAlgo_PolyData.hxx
src/HLRAlgo/HLRAlgo_PolyHidingData.hxx
src/HLRAlgo/HLRAlgo_PolyInternalNode.hxx
src/HLRBRep/HLRBRep_ShapeBounds.lxx
src/HLRBRep/HLRBRep_Surface.cxx
src/HLRTest/HLRTest_DrawablePolyEdgeTool.cxx
src/HLRTopoBRep/HLRTopoBRep_VData.lxx
src/Hatch/Hatch_Line.cxx
src/Hatch/Hatch_Parameter.cxx
src/HatchGen/HatchGen_PointOnElement.cxx
src/IntAna/IntAna_Curve.cxx
src/IntAna/IntAna_Int3Pln.cxx
src/IntAna/IntAna_IntConicQuad.cxx
src/IntAna/IntAna_IntLinTorus.cxx
src/IntAna/IntAna_IntQuadQuad.cxx
src/IntAna2d/IntAna2d_AnaIntersection.cxx
src/IntAna2d/IntAna2d_IntPoint.cxx
src/IntAna2d/IntAna2d_Outils.cxx
src/IntCurve/IntCurve_IConicTool.cxx
src/IntCurve/IntCurve_IntConicConic_Tool.cxx
src/IntCurve/IntCurve_PConic.cxx
src/IntCurveSurface/IntCurveSurface_IntersectionPoint.cxx
src/IntImp/IntImp_Int2S.gxx
src/IntImp/IntImp_IntCS.gxx
src/IntImp/IntImp_ZerImpFunc.gxx
src/IntImp/IntImp_ZerParFunc.gxx
src/IntPatch/IntPatch_ALine.cxx
src/IntPatch/IntPatch_ImpImpIntersection_2.gxx
src/IntPatch/IntPatch_InterferencePolyhedron.cxx
src/IntPatch/IntPatch_Intersection.cxx
src/IntPatch/IntPatch_PolyLine.cxx
src/IntPatch/IntPatch_PrmPrmIntersection.cxx
src/IntPatch/IntPatch_RLine.cxx
src/IntRes2d/IntRes2d_IntersectionSegment.cxx
src/IntStart/IntStart_PathPoint.gxx
src/IntStart/IntStart_SearchOnBoundaries.gxx
src/IntStart/IntStart_Segment.gxx
src/IntSurf/IntSurf_InteriorPoint.cxx
src/IntSurf/IntSurf_Quadric.cxx
src/IntWalk/IntWalk_IWalking_1.gxx
src/IntWalk/IntWalk_PWalking.cxx
src/Intf/Intf_Interference.cxx
src/Intf/Intf_Tool.cxx
src/LDOM/LDOM_BasicAttribute.hxx
src/Law/Law_BSpFunc.cxx
src/Law/Law_Constant.cxx
src/Law/Law_Linear.cxx
src/LocOpe/LocOpe_Generator.lxx
src/LocOpe/LocOpe_LinearForm.lxx
src/LocOpe/LocOpe_PntFace.hxx
src/LocOpe/LocOpe_Prism.cxx
src/LocOpe/LocOpe_Revol.cxx
src/LocOpe/LocOpe_RevolutionForm.cxx
src/LocOpe/LocOpe_Spliter.lxx
src/LocOpe/LocOpe_WiresOnShape.cxx
src/LocalAnalysis/LocalAnalysis_CurveContinuity.cxx
src/LocalAnalysis/LocalAnalysis_SurfaceContinuity.cxx
src/MAT/MAT_BasicElt.cxx
src/MAT/MAT_Edge.cxx
src/MAT/MAT_Graph.cxx
src/MAT/MAT_Node.cxx
src/MAT/MAT_Zone.cxx
src/MAT2d/MAT2d_Circuit.cxx
src/MAT2d/MAT2d_Connexion.cxx
src/MAT2d/MAT2d_Mat2d.cxx
src/MAT2d/MAT2d_MiniPath.cxx
src/MoniTool/MoniTool_Element.cxx
src/MoniTool/MoniTool_Element.hxx
src/MoniTool/MoniTool_Stat.cxx
src/MoniTool/MoniTool_TypedValue.cxx
src/NLPlate/NLPlate_HGPPConstraint.hxx
src/PCDM/PCDM_Reference.cxx
src/Plate/Plate_Plate.cxx
src/ProjLib/ProjLib_CompProjectedCurve.cxx
src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx
src/ProjLib/ProjLib_PrjResolve.cxx
src/ProjLib/ProjLib_ProjectOnSurface.cxx
src/ProjLib/ProjLib_Projector.cxx
src/QABugs/QABugs_19.cxx
src/RWGltf/RWGltf_GltfJsonParser.cxx
src/STEPConstruct/STEPConstruct_UnitContext.cxx
src/STEPControl/STEPControl_ActorRead.cxx
src/Select3D/Select3D_SensitiveSet.hxx
src/SelectBasics/SelectBasics_SelectingVolumeManager.hxx
src/SelectMgr/SelectMgr_Frustum.hxx
src/ShapeAnalysis/ShapeAnalysis_Shell.cxx
src/ShapeAnalysis/ShapeAnalysis_Shell.hxx
src/ShapeAnalysis/ShapeAnalysis_TransferParametersProj.cxx
src/ShapeFix/ShapeFix_EdgeProjAux.cxx
src/ShapeFix/ShapeFix_FreeBounds.cxx
src/ShapePersistent/ShapePersistent_BRep.hxx
src/ShapePersistent/ShapePersistent_Geom2d_Curve.hxx
src/ShapePersistent/ShapePersistent_Geom_Curve.hxx
src/ShapePersistent/ShapePersistent_Geom_Surface.hxx
src/ShapePersistent/ShapePersistent_HSequence.hxx
src/ShapePersistent/ShapePersistent_Poly.hxx
src/ShapeUpgrade/ShapeUpgrade_SplitCurve.cxx
src/ShapeUpgrade/ShapeUpgrade_SplitSurface.cxx
src/ShapeUpgrade/ShapeUpgrade_SplitSurfaceContinuity.cxx
src/StdLPersistent/StdLPersistent_Collection.hxx
src/StdLPersistent/StdLPersistent_Data.hxx
src/StdLPersistent/StdLPersistent_Function.hxx
src/StdLPersistent/StdLPersistent_Real.hxx
src/StdLPersistent/StdLPersistent_Variable.hxx
src/StdObject/StdObject_Shape.hxx
src/StdPersistent/StdPersistent_TopoDS.hxx
src/StepToTopoDS/StepToTopoDS_Builder.cxx
src/StepToTopoDS/StepToTopoDS_Tool.cxx
src/StepToTopoDS/StepToTopoDS_TranslateCompositeCurve.cxx
src/StepToTopoDS/StepToTopoDS_TranslateEdge.cxx
src/StepToTopoDS/StepToTopoDS_TranslateEdgeLoop.cxx
src/StepToTopoDS/StepToTopoDS_TranslateFace.cxx
src/StepToTopoDS/StepToTopoDS_TranslatePolyLoop.cxx
src/StepToTopoDS/StepToTopoDS_TranslateShell.cxx
src/StepToTopoDS/StepToTopoDS_TranslateVertex.cxx
src/StepToTopoDS/StepToTopoDS_TranslateVertexLoop.cxx
src/Sweep/Sweep_NumShapeIterator.cxx
src/TDataStd/TDataStd_DeltaOnModificationOfByteArray.cxx
src/TDataStd/TDataStd_DeltaOnModificationOfExtStringArray.cxx
src/TDataStd/TDataStd_DeltaOnModificationOfIntArray.cxx
src/TDataStd/TDataStd_DeltaOnModificationOfRealArray.cxx
src/TNaming/TNaming_NamedShape.cxx
src/TopClass/TopClass_Classifier2d.gxx
src/TopClass/TopClass_Classifier3d.gxx
src/TopTrans/TopTrans_CurveTransition.cxx
src/TopTrans/TopTrans_SurfaceTransition.cxx
src/TopoDSToStep/TopoDSToStep_Builder.cxx
src/TopoDSToStep/TopoDSToStep_MakeStepEdge.cxx
src/TopoDSToStep/TopoDSToStep_MakeStepFace.cxx
src/TopoDSToStep/TopoDSToStep_MakeStepVertex.cxx
src/TopoDSToStep/TopoDSToStep_MakeStepWire.cxx
src/TopoDSToStep/TopoDSToStep_Tool.cxx
src/TopoDSToStep/TopoDSToStep_WireframeBuilder.cxx
src/Units/Units_ShiftedUnit.cxx
src/VrmlData/VrmlData_ShapeConvert.hxx
src/VrmlData/VrmlData_TextureTransform.hxx