VirtualBox

Changeset 35828 in vbox


Ignore:
Timestamp:
Feb 3, 2011 9:17:14 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69820
Message:

this looks better

File:
1 edited

Legend:

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

    r35827 r35828  
    164164            if (fDelete)
    165165            {
    166                 do
    167                 {
    168                     ComPtr<IProgress> pProgress;
    169                     CHECK_ERROR_BREAK(machine, Delete(ComSafeArrayAsInParam(aMedia), pProgress.asOutParam()));
     166                ComPtr<IProgress> pProgress;
     167                CHECK_ERROR(machine, Delete(ComSafeArrayAsInParam(aMedia), pProgress.asOutParam()));
     168                if (SUCCEEDED(rc))
    170169                    CHECK_ERROR(pProgress, WaitForCompletion(-1));
    171                 } while (0);
    172170            }
    173171        }
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