Ticket #120 (closed defect: fixed)

Opened 21 months ago

Last modified 18 months ago

Correctly handle LIBUSB_TRANSFER_OVERFLOW

Reported by: ludovicrousseau Owned by: Ludovic Rousseau <ludovic.rousseau+github@…>
Milestone: Component: libusb-1.0
Keywords: Cc:
Blocked By: Blocks:

Description

The attached patch fixes a compiler warning that could be a real bug

sync.c: In function ‘libusb_control_transfer’:
sync.c:122: warning: enumeration value ‘LIBUSB_TRANSFER_OVERFLOW’ not
handled in switch

Attachments

0002-Correctly-handle-LIBUSB_TRANSFER_OVERFLOW.patch (1015 bytes) - added by ludovicrousseau 21 months ago.

Download all attachments as: .zip

Change History

Changed 21 months ago by ludovicrousseau

comment:1 Changed 18 months ago by Ludovic Rousseau <ludovic.rousseau+github@…>

  • Owner set to Ludovic Rousseau <ludovic.rousseau+github@…>
  • Resolution set to fixed
  • Status changed from new to closed

In [1cc5b4a9fb984e83681ae5c797fa6b22bc20f809/libusb]:

Correctly handle LIBUSB_TRANSFER_OVERFLOW in libusb_control_transfer()

sync.c: In function `libusb_control_transfer':
sync.c:122: warning: enumeration value `LIBUSB_TRANSFER_OVERFLOW' not
handled in switch

Fixes #120.

Note: See TracTickets for help on using tickets.