From nobody Tue Jun 23 14:38:01 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gl73305kQz6hW6H for ; Tue, 23 Jun 2026 14:38:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gl7323Mlrz40Ww for ; Tue, 23 Jun 2026 14:38:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782225486; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ypEl9I1n4fGYo0I/ucZzJIXzUTeO4lw4hKg5HjuDAqM=; b=f7V0Zp33Na6L9HL/s0QSUDDLCQIJDXNS2ZNNtL0ZhTSbLGvgjLTilwGpptaBl6hFdxiEgG nQP4vzRWX6vopqYAee4gFW3HpODcopk44sqyeHZfp3v5yCVR9IYRh7p0thDNMBqkQGFb56 Rth7IRGWAfuuQU5XpBC4EFr2LStsdTjhAU4qrsnW4UpzO9cqxs6mvsufQmDJOD6nQFa3nU tFjOxRhpd8Viabtsp0f3VJ2GcGVzdJRj9qtWf1qj200KhiF++SeZymyT6n5Qfx5S+qxO6e UuQPTv59tuP5+SjuC1uBG8DcCO2nv3Ec2Ckmx5ceRJlQEVb/clV67x/uOgIyhw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1782225486; a=rsa-sha256; cv=none; b=XHzGotlmKK+QNWZUUV4wr9UGhCCWDh6F9l7/YLHKs531QIPiuACMmngv3c7UTNJWkOCBwN KhyGHaDCwbGToxjRsyK8kVs6Js7i9oj5+ZqCi5mInBKL8J8xefuHixAWxwFwhPUidzvFX1 aSq/Ec5HKl8F1bl/SzM/IDQ7O98eQDZUPk5g+MrwjJnXO57sK1fGpnZjqSsPm/rWqxE8Je Vg+TvlT8Wzp7umbPIlEPN1r1+KF/T9Q3JDU1SOf8P1Xqf02ZBrdiCu3WRwzarY5CF0GEnQ SrZFzJmiN/Qa0gNKR1sWYdGlMXcu7IPnpf6zWNn0lxuoHeV+u/9oKPV3SQNd2A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782225486; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ypEl9I1n4fGYo0I/ucZzJIXzUTeO4lw4hKg5HjuDAqM=; b=yS5A9jOvVQfe52tE5aohVv+Tiuiwt/XAGp6uwkAfjibl6A3xvpmK7xB1Jk45A8S0iNg/8R sxIefbHjqyjjKwSbqc1GDNmP69DuuFLrOnkZSLT3WM35pjiDRmxYdhCoaii2zHIacFBqXu 4jyuqoHxP5KrXFTq5dIUonbiiA8Mc/BpABDkJRAoscksodQw6nYPKrDuNpUNsmrCZzl0is 7S5q9Zk0q3YD+nW5sGusJoG/RpsUso+KdhS0omEmXuvFY9wAcev23vWSxDxP9Jm0CRd2xt mI9utv45qSKw1KzaiPe05FbqTuvoQxigGewTkOzMsoydIwoVIgIEJlznQwbxxA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gl7320wHZzfDw for ; Tue, 23 Jun 2026 14:38:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 193e5 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 23 Jun 2026 14:38:01 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: ShengYi Hung Subject: git: 08dca5971b08 - main - libusb: Add missing default in handling option switch List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: aokblast X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 08dca5971b08b65f227883502d9bb9f59eebd578 Auto-Submitted: auto-generated Date: Tue, 23 Jun 2026 14:38:01 +0000 Message-Id: <6a3a9a49.193e5.1ec1388f@gitrepo.freebsd.org> The branch main has been updated by aokblast: URL: https://cgit.FreeBSD.org/src/commit/?id=08dca5971b08b65f227883502d9bb9f59eebd578 commit 08dca5971b08b65f227883502d9bb9f59eebd578 Author: ShengYi Hung AuthorDate: 2026-06-23 14:29:57 +0000 Commit: ShengYi Hung CommitDate: 2026-06-23 14:37:53 +0000 libusb: Add missing default in handling option switch This makes GCC happy Fixes: 2879c818e553 ("implement libusb_set_option") Event: Halifax Hackathon 202606 Sponsored by: The FreeBSD Foundation --- lib/libusb/libusb10.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libusb/libusb10.c b/lib/libusb/libusb10.c index 02507110d909..f47b301ea302 100644 --- a/lib/libusb/libusb10.c +++ b/lib/libusb/libusb10.c @@ -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) {