VirtualBox

Changeset 7002 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 18, 2008 5:50:57 PM (17 years ago)
Author:
vboxsync
Message:

Main: No warnings on VINF_SUCCESS.

File:
1 edited

Legend:

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

    r6972 r7002  
    23342334
    23352335    AssertReturn (mUSBProxyService, E_FAIL);
    2336     if (!mUSBProxyService->isActive())
     2336
     2337    /* consider !isActive() and VBOX_SUCCESS (getLastError()) as a special
     2338     * normal state and don't report warnings */
     2339
     2340    if (!mUSBProxyService->isActive() &&
     2341        VBOX_FAILURE (mUSBProxyService->getLastError()))
    23372342    {
    23382343        /* disable the USB controller completely to avoid assertions if the
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