VirtualBox

Changeset 20976 in vbox for trunk


Ignore:
Timestamp:
Jun 26, 2009 2:17:49 PM (16 years ago)
Author:
vboxsync
Message:

Removed incorrect checks for USB product id Doxyfile.Main= 0. Some devices (TEAC floppy) do have product id 0000.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

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

    r20237 r20976  
    12041204    rc = aUSBDevice->COMGETTER(ProductId) (&productId);
    12051205    ComAssertComRCRet (rc, false);
    1206     ComAssertRet (productId, false);
    12071206    vrc = USBFilterSetNumExact (&dev, USBFILTERIDX_PRODUCT_ID, productId, true); AssertRC(vrc);
    12081207
  • trunk/src/VBox/Main/USBDeviceImpl.cpp

    r19239 r20976  
    6565    hrc = aUSBDevice->COMGETTER(ProductId)(&unconst (mData.productId));
    6666    ComAssertComRCRet (hrc, hrc);
    67     ComAssertRet (mData.productId, E_INVALIDARG);
    6867
    6968    hrc = aUSBDevice->COMGETTER(Revision)(&unconst (mData.revision));
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