VirtualBox

Changeset 45067 in vbox


Ignore:
Timestamp:
Mar 18, 2013 5:25:26 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84349
Message:

Main/VirtualBox: report zero UUID as in use, fix compiler warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp

    r44528 r45067  
    39123912bool VirtualBox::isMediaUuidInUse(const Guid &aId, DeviceType_T deviceType)
    39133913{
    3914     AssertReturn(!aId.isZero(), E_FAIL);
     3914    /* A zero UUID is invalid here, always claim that it is already used. */
     3915    AssertReturn(!aId.isZero(), true);
    39153916
    39163917    AutoReadLock alock(getMediaTreeLockHandle() COMMA_LOCKVAL_SRC_POS);
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