From nobody Mon Sep 14 14:47:24 2026 X-Original-To: dev-commits-src-branches@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 4hk7KS61gxz6sgFl for ; Mon, 14 Sep 2026 14:47:24 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hk7KS2FTXz4YR2 for ; Mon, 14 Sep 2026 14:47:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789397244; 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=dGUpCDlMwrIH/+4LNf32H2skP2L7x56Mj0ZIL9kJPcs=; b=l86VaXjKGck5fij/gMz3Frkr458bVCsjjroS3uFADW3QgSeWqSx++FFJwhFl4+XCaRUddo mslKomgxLiE8WJcJMUZwzUEaB17OhOMxRwp+7p/dUydEo5e8On+QRpM8zLN9yvoBc/LVXL opfO5/txKMbnVh+hf1Zl+jH4tiGgKu3TqTky5iYOMGJ9GElVW0AyvABk6obM9xIdZ3PuUl Z46vdkfZ8flugrcdEns2E/JTtzaq3GBIsGUNTmp6G54CGTHZgKEcZYePSBKHEEZmDrQ4bn tEvJSTcwwF3Q677iikC25gSC3/3+FslDt64eaYd9ZzwUSe6hftBlvKjiRQhdaA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789397244; b=dDKMfCtY+DWndg97gWx22kzMrUr7y5nMytyaoDQD/RT/yVOeZQhUFULwMgJlcYqc1it6Nf E+pXSsv7l7vk8+qLFGFBPZWOqmKGTIUTw2w0JcziA9mQUpSqFEAYt/DjCxuxZVMFOSB1zi 4THKuzbHgqUdNylcCuX7QgWHeHQir9FdE6MZ4QmrH3JmV3hA8orf2AlfKMPohhrGlh8/qz pRFN7w71uxZlUKsaSXGIzJBcYiStsii7y4bgpaDpvH6kIulnbvZIw5pisqpVEduph2Ko4N HPxGi9BQKP5LlZbGxk6PWa+Eme4AsmIP9+82SAqXDi+skF2+HsbpHWsF2Euv/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789397244; 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=dGUpCDlMwrIH/+4LNf32H2skP2L7x56Mj0ZIL9kJPcs=; b=OFVu3uCMadRj9ruvCsd6SIuwC2RoGOJ4mViWxd9OTDuCda8ADsZAPEPV/XDNY85jaBVmHT dZnYdGxzCm+qcdC7/3WLqhI8XahFr+qIHvGL9g0vvbq6OFQO24Dvt2n/GvtnAoZdmzNRhk fgQr30r+1nIUUJ9fB798UYyrE7hHOSFnfYY/ycJl7xH/gXgaNobU5ftZhKNO/XQc5anCpq 7SnJd0tPx/2/JHCyIml9tHX3mqFJhzMSNSymIVLOd58Cbzs1GZAdMzniNZQLbht4yx649P CMLCHcBN+QMXYMW+QLYtyRRlC/sbo/9LwvlL4iOoWhbT7LpAbtQrwn1jncf7Zg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hk7KS1JFlzHCm for ; Mon, 14 Sep 2026 14:47:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 367b9 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 14 Sep 2026 14:47:24 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Siva Mahadevan Subject: git: 83623954e4c8 - stable/14 - fsck_msdosfs: remove unused variable List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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: siva X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 83623954e4c86914439eee546dfcc84b4e2acecc Auto-Submitted: auto-generated Date: Mon, 14 Sep 2026 14:47:24 +0000 Message-Id: <6aa808fc.367b9.333518da@gitrepo.freebsd.org> The branch stable/14 has been updated by siva: URL: https://cgit.FreeBSD.org/src/commit/?id=83623954e4c86914439eee546dfcc84b4e2acecc commit 83623954e4c86914439eee546dfcc84b4e2acecc Author: Siva Mahadevan AuthorDate: 2026-09-10 14:38:44 +0000 Commit: Siva Mahadevan CommitDate: 2026-09-14 14:32:22 +0000 fsck_msdosfs: remove unused variable This fixes the build with gcc 16 after the changes to -Wunused*[0]. [0] https://gcc.gnu.org/gcc-16/porting_to.html#changes-to-wunused Reviewed by: delphij MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D59543 (cherry picked from commit fead44b3ed61a09c2a0c4f79537462e837067fce) --- sbin/fsck_msdosfs/dir.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/fsck_msdosfs/dir.c b/sbin/fsck_msdosfs/dir.c index e24824261a9f..2802332d315e 100644 --- a/sbin/fsck_msdosfs/dir.c +++ b/sbin/fsck_msdosfs/dir.c @@ -449,10 +449,10 @@ checksize(struct fat_descriptor *fat, u_char *p, struct dosDirEntry *dir) fullpath(dir)); if (ask(1, "Drop superfluous clusters")) { cl_t cl; - u_int32_t sz, len; + u_int32_t sz; - for (cl = dir->head, len = sz = 0; - (sz += boot->ClusterSize) < dir->size; len++) + for (cl = dir->head, sz = 0; + (sz += boot->ClusterSize) < dir->size;) cl = fat_get_cl_next(fat, cl); clearchain(fat, fat_get_cl_next(fat, cl)); ret = fat_set_cl_next(fat, cl, CLUST_EOF);