diff options
author | Ludovic Rousseau <ludovic.rousseau@gmail.com> | 2012-05-08 15:53:56 +0200 |
---|---|---|
committer | Pete Batard <pete@akeo.ie> | 2012-05-08 17:35:45 +0100 |
commit | 30ccbd773bc02d5dfd21e02bfba6d58234f59393 (patch) | |
tree | da04427f4651f3206e11c928e0c11ccfba8ac23d /libusb/os/darwin_usb.h | |
parent | 6d47fa1bc52562f673c30e5fd36f8ae44ed102e8 (diff) | |
download | libusbx-30ccbd773bc02d5dfd21e02bfba6d58234f59393.tar.gz |
Core: Handle TRANSFER_ERROR/TRANSFER_CANCELLED for sync transfers
* Return the more appropriate LIBUSB_ERROR_IO instead of
LIBUSB_ERROR_OTHER for the cases LIBUSB_TRANSFER_ERROR and
LIBUSB_TRANSFER_CANCELLED
* Fixes warnings similar to the following when using the GCC
option -Wswitch-enum:
warning: enumeration value ‘LIBUSB_TRANSFER_ERROR’ not handled in switch
Diffstat (limited to 'libusb/os/darwin_usb.h')
0 files changed, 0 insertions, 0 deletions