usbdev_close() returns nothing.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1281 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
3977713be0
commit
2de8e9c8ca
|
@ -320,7 +320,7 @@ static void usbdev_close(union filedescriptor *fd)
|
||||||
usb_dev_handle *udev = (usb_dev_handle *)fd->usb.handle;
|
usb_dev_handle *udev = (usb_dev_handle *)fd->usb.handle;
|
||||||
|
|
||||||
if (udev == NULL)
|
if (udev == NULL)
|
||||||
return -1;
|
return;
|
||||||
|
|
||||||
(void)usb_release_interface(udev, usb_interface);
|
(void)usb_release_interface(udev, usb_interface);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue