VirtualBox

Changeset 23583 in vbox


Ignore:
Timestamp:
Oct 6, 2009 3:17:19 PM (15 years ago)
Author:
vboxsync
Message:

Main: fix wrong snapshot assertion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MachineImpl.cpp

    r23567 r23583  
    95019501                Assert(pReplaceMachineId  && *pReplaceMachineId == mData->mUuid);
    95029502
     9503                Guid snapshotId;
    95039504                const Guid *pSnapshotId = replaceHd->getFirstMachineBackrefSnapshotId();
    9504                 Assert(pSnapshotId);
    9505                 Guid snapshotId = *pSnapshotId;
     9505                if (pSnapshotId)
     9506                    snapshotId = *pSnapshotId;
    95069507
    95079508                HRESULT rc2 = S_OK;
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