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
d58a2d96f0
commit
adfea4623d
|
@ -320,7 +320,7 @@ static void usbdev_close(union filedescriptor *fd)
|
|||
usb_dev_handle *udev = (usb_dev_handle *)fd->usb.handle;
|
||||
|
||||
if (udev == NULL)
|
||||
return -1;
|
||||
return;
|
||||
|
||||
(void)usb_release_interface(udev, usb_interface);
|
||||
|
||||
|
|
Loading…
Reference in New Issue