Date: Tue, 28 Jun 2022 04:48:38 GMT From: Kirk McKusick <mckusick@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 78dfcf256a44 - main - Eliminate set but not used variable. Message-ID: <202206280448.25S4mcYa070016@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mckusick: URL: https://cgit.FreeBSD.org/src/commit/?id=78dfcf256a443df2a43bdfcce6b7d7af143d964f commit 78dfcf256a443df2a43bdfcce6b7d7af143d964f Author: Kirk McKusick <mckusick@FreeBSD.org> AuthorDate: 2022-06-28 04:37:09 +0000 Commit: Kirk McKusick <mckusick@FreeBSD.org> CommitDate: 2022-06-28 04:48:24 +0000 Eliminate set but not used variable. No functional change intended. --- sbin/growfs/growfs.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sbin/growfs/growfs.c b/sbin/growfs/growfs.c index 1f1bcf82c965..6a57924fb7bc 100644 --- a/sbin/growfs/growfs.c +++ b/sbin/growfs/growfs.c @@ -560,7 +560,7 @@ static void updjcg(int cylno, time_t modtime, int fsi, int fso, unsigned int Nflag) { DBG_FUNC("updjcg") - ufs2_daddr_t cbase, dmax, dupper; + ufs2_daddr_t cbase, dmax; struct csum *cs; int i, k; int j = 0; @@ -607,9 +607,6 @@ updjcg(int cylno, time_t modtime, int fsi, int fso, unsigned int Nflag) dmax = cbase + sblock.fs_fpg; if (dmax > sblock.fs_size) dmax = sblock.fs_size; - dupper = cgdmin(&sblock, cylno) - cbase; - if (cylno == 0) /* XXX fscs may be relocated */ - dupper += howmany(sblock.fs_cssize, sblock.fs_fsize); /* * Set pointer to the cylinder summary for our cylinder group.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206280448.25S4mcYa070016>