VirtualBox

Changeset 59589 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 4, 2016 6:50:48 PM (9 years ago)
Author:
vboxsync
Message:

Appliance::read: Simpler.

File:
1 edited

Legend:

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

    r59588 r59589  
    8585
    8686    ComObjPtr<Progress> progress;
    87     HRESULT rc = S_OK;
    8887    try
    8988    {
     
    9493    catch (HRESULT aRC)
    9594    {
    96         rc = aRC;
    97     }
    98 
    99     if (SUCCEEDED(rc))
    100         /* Return progress to the caller */
    101         progress.queryInterfaceTo(aProgress.asOutParam());
    102 
    103     return rc;
     95        return aRC;
     96    }
     97
     98    /* Return progress to the caller */
     99    progress.queryInterfaceTo(aProgress.asOutParam());
     100    return S_OK;
    104101}
    105102
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