VirtualBox

Changeset 107474 in vbox


Ignore:
Timestamp:
Jan 7, 2025 3:45:02 PM (11 days ago)
Author:
vboxsync
Message:

Main/{include/Performance.h,src-server/Performance.cpp}: Missing field initialisers, bugref:3409

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/Performance.h

    r106061 r107474  
    6767    {
    6868    public:
    69         CircularBuffer() : mData(0), mLength(0), mEnd(0), mWrapped(false) {};
     69        CircularBuffer() : mData(0), mLength(0), mEnd(0), mSequenceNumber(0), mWrapped(false) {};
    7070        ~CircularBuffer() { if (mData) RTMemFree(mData); };
    7171        void init(ULONG length);
     
    209209    public:
    210210        CollectorGuestRequest()
    211             : mCGuest(0) {};
     211            : mCGuest(0),mDebugName(NULL) {};
    212212        virtual ~CollectorGuestRequest() {};
    213213        void setGuest(CollectorGuest *aGuest) { mCGuest = aGuest; };
  • trunk/src/VBox/Main/src-server/Performance.cpp

    r106061 r107474  
    242242
    243243CollectorGuest::CollectorGuest(Machine *machine, RTPROCESS process) :
    244     mUnregistered(false), mEnabled(false), mValid(false), mMachine(machine), mProcess(process),
     244    mManager(NULL), mUnregistered(false), mEnabled(false), mValid(false), mMachine(machine), mProcess(process),
    245245    mCpuUser(0), mCpuKernel(0), mCpuIdle(0),
    246246    mMemTotal(0), mMemFree(0), mMemBalloon(0), mMemShared(0), mMemCache(0), mPageTotal(0),
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette