From nobody Tue Oct 29 20:36:29 2024 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 4XdMVQ1NVRz5bt4M; Tue, 29 Oct 2024 20:36:30 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XdMVQ0x4fz4Q6g; Tue, 29 Oct 2024 20:36:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730234190; 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=557Bkuo5eofv9CDStRODzQGot0hc3qb7UvYrfNh0qZQ=; b=pyA/Ar66OArQQhCBQI+1eJDpfBoho8TFZ9aizifYihA+3s4oyXucnbwXFMoEL4GdrWCKIa nu/uJt0FGAy/O2aHG5uUqRGWcgMrMM52ie2RMrMonbofPBp1ihczkLz/RRM4P3bsmULWCk 32LFEfnL2qCNphmRYXhPvPduET/i/pDO7yAi5cC4uMmxPQiRXQ+ISCWsb0YBDKaSUHmb21 nSQ2v82WviPWYBzJ8JR29KqFrpmToNHT5yTQK7umA9VSrSNmG+hiERuqyw9ecnwOkzx13s BAYud0ebScT1stTdGdaozrfmjvealoUA9Y+ZXpc2SaeeMqs/9ZJop7M/205wSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730234190; 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=557Bkuo5eofv9CDStRODzQGot0hc3qb7UvYrfNh0qZQ=; b=x4aoEAv7+zk/v5E4UHYHV+EmqTSqUzEtfP7C3EdSH7AXLS/4U5no5AYfuF24uv3Hd/Kp9J AVFEBQGezexvgOSgFv+0joT9C7t9y23s3ZqpTRSzY+echedRCOUrio0pnPohBIfWCsF0VB 0MaXRoziUX1gJ6dJ4L6NaKRVu/k6sTvHB/kZSJTfAw/89MbiuccupqUF/pmuB2SHjFUiF8 CBXODaW5aIEpV1/fVlZHBClLRVF90wzBr8LrriXv/yXginX/25Cg6RV138e+tUlPbOAlwP k5t2IMmao0bUNTOdn6g7iL5/5/ei2xP/apCuhF8xTmhFQ4kS7NSFF/lKLtckSg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730234190; a=rsa-sha256; cv=none; b=sqNmBoARZUxlEqheqO9mkMTtthXPS4yAhFI++VKxrshQvcE/u+ekJ6i3MgcX27CTHKswLZ fWmE9b5wi36IA32k1lOGBTICU8GfASfMzv5vsBxFK9X/EcZw1Soqd4ElcIeEAuGGpjB6Uj UikoXZR9E8swR5lVO8ugDCsg6YuLGI05HlrQspFDzWnFK/MKiTqpMLB/2TJDI+NSb+VKnk sb2nwkEKdmE2O/OGFf0oLHy7idTuaeYMjvs1eExoaNm0UzAvbZ4PzGsbFNkcqQrD2t8Fkh LK/+UA7hTMnxIItPUAwOfHVi6LnUDWrKkJsT6Q95aoSIcp6KbEBxMjfMfHRljQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XdMVQ0N9bzfNh; Tue, 29 Oct 2024 20:36:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49TKaT7N022936; Tue, 29 Oct 2024 20:36:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49TKaT3t022933; Tue, 29 Oct 2024 20:36:29 GMT (envelope-from git) Date: Tue, 29 Oct 2024 20:36:29 GMT Message-Id: <202410292036.49TKaT3t022933@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: dd72aa6be4ee - stable/14 - style.9: clarify FALLTHROUGH 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: dd72aa6be4eec5d6d6406b00190e5729bba179db Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=dd72aa6be4eec5d6d6406b00190e5729bba179db commit dd72aa6be4eec5d6d6406b00190e5729bba179db Author: Ed Maste AuthorDate: 2024-10-22 16:13:55 +0000 Commit: Ed Maste CommitDate: 2024-10-29 20:33:10 +0000 style.9: clarify FALLTHROUGH FALLTHROUGH is intended for a block of code that cascades to the next case block. Multiple case statements sharing a single block of code do not need a FALLTHROUGH comment. Reviewed by: imp, markj, jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D47242 (cherry picked from commit d55d5dd9f7adcffa6a1f2a49956d7fd7d549aba1) --- share/man/man9/style.9 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index f00286ba9c48..52292b896add 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -530,7 +530,7 @@ parts of the cascade. Elements in a .Ic switch -statement that cascade should have a +statement that execute some code and then cascade to the next case should have a .Li FALLTHROUGH comment. Numerical arguments should be checked for accuracy.