openbsd: Use default clause in _errno_to_libusb()

Same as for NetBSD.

Closes #1295

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
This commit is contained in:
Tormod Volden 2023-07-06 14:56:45 +02:00
parent bc12cda784
commit d04fc0e60b
2 changed files with 3 additions and 3 deletions

View file

@ -495,9 +495,9 @@ _errno_to_libusb(int err)
return LIBUSB_ERROR_NO_MEM;
case ETIMEDOUT:
return LIBUSB_ERROR_TIMEOUT;
default:
return LIBUSB_ERROR_OTHER;
}
return LIBUSB_ERROR_OTHER;
}
int

View file

@ -1 +1 @@
#define LIBUSB_NANO 11930
#define LIBUSB_NANO 11931