mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
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
This commit is contained in:
@@ -34,7 +34,12 @@ static TCollection_ExtendedString blank("");
|
||||
|
||||
|
||||
|
||||
CDF_Store::CDF_Store() {}
|
||||
CDF_Store::CDF_Store()
|
||||
: myHasSubComponents(Standard_False),
|
||||
myIsMainDocument(Standard_False),
|
||||
myStatus(PCDM_SS_No_Obj)
|
||||
{
|
||||
}
|
||||
CDF_Store::CDF_Store(const Handle(CDM_Document)& aDocument):myHasSubComponents(Standard_False) {
|
||||
|
||||
myMainDocument = aDocument;
|
||||
|
Reference in New Issue
Block a user