0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
[occt.git] / src / PCDM / PCDM_Reference.cxx
index 8db5c30..cac873b 100644 (file)
 #include <PCDM_Reference.hxx>
 #include <TCollection_ExtendedString.hxx>
 
-PCDM_Reference::PCDM_Reference(){}
+PCDM_Reference::PCDM_Reference()
+: myReferenceIdentifier(0),
+  myDocumentVersion(0)
+{
+}
+
 PCDM_Reference::PCDM_Reference(const Standard_Integer aReferenceIdentifier, const TCollection_ExtendedString& aFileName, const Standard_Integer aDocumentVersion):myReferenceIdentifier(aReferenceIdentifier),myFileName(aFileName),myDocumentVersion(aDocumentVersion) {}