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:
Joerg Wunsch 2014-02-27 07:34:33 +00:00
parent 3977713be0
commit 2de8e9c8ca
1 changed files with 1 additions and 1 deletions

View File

@ -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);