darwin: code cleanup in darwin_handle_transfer_completion
authorNathan Hjelm <hjelmn@me.com>
Tue, 15 Sep 2020 04:09:55 +0000 (22:09 -0600)
committerNathan Hjelm <hjelmn@me.com>
Tue, 15 Sep 2020 04:09:55 +0000 (22:09 -0600)
commit70c0a51ba3a1daaf8fd51f1457dba86dd389debe
tree8a695da33e62a5832e8dff9c4dc9743f4ad3c094
parenta1855022a015b9fe486cda94a42e7fda97d5c5d2
darwin: code cleanup in darwin_handle_transfer_completion

This commit adds an extra parameter check to darwin_handle_transfer_completion
and cleans the code up a bit.

Signed-off-by: Nathan Hjelm <hjelmn@google.com>
libusb/os/darwin_usb.c
libusb/version_nano.h