mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
libusb: Add missing default in handling option switch
This makes GCC happy
Fixes: 2879c818e5 ("implement libusb_set_option")
Event: Halifax Hackathon 202606
Sponsored by: The FreeBSD Foundation
This commit is contained in:
1 parent
25c2251064
commit
08dca5971b
1 file changed
+2
@@ -2115,6 +2115,8 @@ libusb_set_option(libusb_context *ctx, enum libusb_option option, ...)
|
||||
case LIBUSB_OPTION_LOG_CB:
|
||||
callback = va_arg(args, libusb_log_cb);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (option >= LIBUSB_OPTION_MAX) {
|
||||
|
||||
Reference in new issue
Block a user