From nobody Mon Sep 14 14:21:50 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 4hk6ly5DvKz6sdWm for ; Mon, 14 Sep 2026 14:21:50 +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 4hk6ly3qHkz4PLW for ; Mon, 14 Sep 2026 14:21:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789395710; 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=5NcCalT0bl2fSTufQpm7FFQsgsTFFKsL9i4Kmk0ZV+g=; b=ZanldpG0YoxiDQAmlbVvdLh8ztwBUDRFTtDS2c2QeVXrFg4f4nusUSYQaxbgsuHiujMP40 0VHz0YPPzWuVJjBSYh7CZ7Zag/r233XwxlVKaFwyDjhA/FVQynmz3dmMkHUq2oUXtgKNgm kwe7RANljnl0BcJx7YMqVDIkmcnbHVu07fLaTA++dsP6ileQ2gAi40Bxw9RiI3ZLMGpwsU bBRR06+vP5StWgheW/Y+uDBZfahQbJWmtBGW1GOeoZgSD4m6z3+XUZfd2Lh+NI1f/bqfD2 Yd36PPbKuvTznwDsJdSYLHto5RY7Z7cPZWrTqFlAG3B2w82BsZCvXp6lxxbwWQ== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789395710; b=CuNShnXsvbFVGTu3tYR4LBr8kIXa+h4oddhvLm7lrwYdQAskeuL79ZCtQ5wyMXtM1Uk+mP tc3JDtFoCcDQ6yNTu4yf0R19ZLeE515q3QEDBLHbL8ILwe7zsAOwhDTFpH7UMmM14KpcfF kwO9wyTpuPXBhMf7YiBlPz8gmSt0Se6EqSX7XuV1EEs/UgXKRC7KBep36WCaKjicqQgzll zzV0PPxmXNs/veN/J0Cw9aFnoRFsRnoTAhCiXtWvgY2mzuAA91NbjNvaQbhqmQ21bVzL+X 5XYYpSJ0ZAKbFaS7nlwwT3hOqdVOGu9mYPyZk3qCUkFYDZ9byIn/UkL8AyRbRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789395710; 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=5NcCalT0bl2fSTufQpm7FFQsgsTFFKsL9i4Kmk0ZV+g=; b=MskZVAK/h3EzBYcXnn+OnLPgbr22Y2PvvJpeo0iD03pxGzFSDzn7kec8P/blUu1WCForgW ZaA/YMzhwmF4Bj+/eV06KWCQFTc3QY1/KsmPvvmBYB8nAAhp76A86AYfrKrtX0g6j2HeXn VkXBlwhpGB5k0H7HIKZmImbFUQ443sVD3BcnAGdXex5s8s3irItyDSnmQikOJKPJfHnHbR nX4a012skxeLSwDW4cVRFB1yYp5pSHZMHK0d4kBp9Q2BOdQzG9aqCTp3hDyIAr531Hxzvh yRPUPD7xBgX7USEfnJRG8wANgpKET/DhivGiH0gs36694M+DdLnPFyYR0DcWlQ== 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 4hk6ly2qKczH4r for ; Mon, 14 Sep 2026 14:21:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3318e by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 14 Sep 2026 14:21:50 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Siva Mahadevan Subject: git: a1020633443d - stable/15 - 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/15 X-Git-Reftype: branch X-Git-Commit: a1020633443d0f94227477913fb3a940a709f212 Auto-Submitted: auto-generated Date: Mon, 14 Sep 2026 14:21:50 +0000 Message-Id: <6aa802fe.3318e.779662f5@gitrepo.freebsd.org> The branch stable/15 has been updated by siva: URL: https://cgit.FreeBSD.org/src/commit/?id=a1020633443d0f94227477913fb3a940a709f212 commit a1020633443d0f94227477913fb3a940a709f212 Author: Siva Mahadevan AuthorDate: 2026-09-10 14:38:44 +0000 Commit: Siva Mahadevan CommitDate: 2026-09-14 14:02:36 +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);