VirtualBox

Changeset 23754 in vbox


Ignore:
Timestamp:
Oct 14, 2009 11:29:45 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53480
Message:

VBoxManageModifyVM: get uuid only if dvdMedium is present

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp

    r23750 r23754  
    10791079                 * and as a consequence multiple attachments and different
    10801080                 * storage controllers. */
    1081                 dvdMedium->COMGETTER(Id)(uuid.asOutParam());
     1081                if (dvdMedium)
     1082                    dvdMedium->COMGETTER(Id)(uuid.asOutParam());
    10821083                CHECK_ERROR (machine, MountMedium(Bstr("IDE Controller"), 1, 0, uuid));
    10831084                break;
Note: See TracChangeset for help on using the changeset viewer.

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