VirtualBox

Changeset 18210 in vbox for trunk/src


Ignore:
Timestamp:
Mar 24, 2009 5:05:22 PM (16 years ago)
Author:
vboxsync
Message:

Remove some no longer needed code.

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

Legend:

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

    r18206 r18210  
    604604
    605605        m.rollback();
    606         if (!m->image.isNull())
    607         {
    608             /* Reattach from the old image. */
    609             HRESULT rc = m->image->attachTo(mParent->id(), mParent->snapshotId());
    610             AssertComRC (rc);
    611             if (Global::IsOnline (adep.machineState()))
    612             {
    613                 /* Lock from the old image. */
    614                 rc = m->image->LockRead (NULL);
    615                 AssertComRC (rc);
    616             }
    617         }
    618606    }
    619607
  • trunk/src/VBox/Main/FloppyDriveImpl.cpp

    r18206 r18210  
    612612
    613613        m.rollback();
    614         if (!m->image.isNull())
    615         {
    616             /* Reattach from the old image. */
    617             HRESULT rc = m->image->attachTo(mParent->id(), mParent->snapshotId());
    618             AssertComRC (rc);
    619             if (Global::IsOnline (adep.machineState()))
    620             {
    621                 /* Lock from the old image. */
    622                 rc = m->image->LockRead (NULL);
    623                 AssertComRC (rc);
    624             }
    625         }
    626614    }
    627615
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