diff --git a/src/NCollection/NCollection_BaseVector.hxx b/src/NCollection/NCollection_BaseVector.hxx index db68b8613d..7c8941818a 100755 --- a/src/NCollection/NCollection_BaseVector.hxx +++ b/src/NCollection/NCollection_BaseVector.hxx @@ -69,7 +69,8 @@ protected: { protected: Iterator() - : myICurBlock (0), + : myVector (nullptr), + myICurBlock (0), myIEndBlock (0), myCurIndex (0), myEndIndex (0) {} diff --git a/src/SelectMgr/SelectMgr_BVHThreadPool.hxx b/src/SelectMgr/SelectMgr_BVHThreadPool.hxx index 84d8ab3765..3dd7afd0ad 100644 --- a/src/SelectMgr/SelectMgr_BVHThreadPool.hxx +++ b/src/SelectMgr/SelectMgr_BVHThreadPool.hxx @@ -42,6 +42,8 @@ public: BVHThread() : OSD_Thread(), + myPool(nullptr), + myMutex(), myToCatchFpe (Standard_False) {