VirtualBox

Ignore:
Timestamp:
May 26, 2015 11:41:02 AM (10 years ago)
Author:
vboxsync
Message:

USB/lib: Supression of assert in getting device description

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/lib/VBoxUsbLib-win.cpp

    r53109 r56073  
    600600    {
    601601        DWORD dwErr = GetLastError();
    602         AssertMsgFailed(("Getting USB descriptor failed with error %ld\n", dwErr));
     602        LogRel(("Getting USB descriptor failed with error %ld\n", dwErr));
    603603        return RTErrConvertFromWin32(dwErr);
    604604    }
     
    663663    int rc = usbLibDevStrDrEntryGet(hHub, iPort, 0, 0, ppList);
    664664    if (RT_FAILURE(rc))
     665    {
     666        AssertRC(rc);
    665667        return rc;
     668    }
    666669
    667670    PUSB_STRING_DESCRIPTOR pLandStrDr = &(*ppList)->StrDr;
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