VirtualBox

Changeset 23308 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Sep 24, 2009 7:39:07 PM (15 years ago)
Author:
vboxsync
Message:

fix OSE

File:
1 edited

Legend:

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

    r23279 r23308  
    16091609HRESULT Host::loadSettings(const settings::Host &data)
    16101610{
     1611    HRESULT rc = S_OK;
     1612#ifdef VBOX_WITH_USB
    16111613    AutoCaller autoCaller(this);
    16121614    CheckComRCReturnRC(autoCaller.rc());
     
    16141616    AutoMultiWriteLock2 alock(this->lockHandle(), &m->treeLock);
    16151617
    1616     HRESULT rc = S_OK;
    1617 
    1618 #ifdef VBOX_WITH_USB
     1618
    16191619    for (settings::USBDeviceFiltersList::const_iterator it = data.llUSBDeviceFilters.begin();
    16201620         it != data.llUSBDeviceFilters.end();
     
    16401640    NOREF(data);
    16411641#endif /* VBOX_WITH_USB */
    1642 
    16431642    return rc;
    16441643}
     
    16461645HRESULT Host::saveSettings(settings::Host &data)
    16471646{
     1647#ifdef VBOX_WITH_USB
    16481648    AutoCaller autoCaller(this);
    16491649    CheckComRCReturnRC(autoCaller.rc());
     
    16511651    AutoReadLock alock(&m->treeLock);
    16521652
    1653 #ifdef VBOX_WITH_USB
    16541653    data.llUSBDeviceFilters.clear();
    16551654
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