diff options
author | eadler <eadler@FreeBSD.org> | 2012-07-07 17:25:36 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-07-07 17:25:36 +0000 |
commit | e1dbaaa8dfa19f9be6f8735e1b1e8d89326c078f (patch) | |
tree | 147a3c01279b8f1ff9a8cf14052501569a311924 /sbin/growfs | |
parent | 38e8d76697f389cbf3a1b98edc987e392ec34018 (diff) | |
download | FreeBSD-src-e1dbaaa8dfa19f9be6f8735e1b1e8d89326c078f.zip FreeBSD-src-e1dbaaa8dfa19f9be6f8735e1b1e8d89326c078f.tar.gz |
Remove unneeded variable reported by gcc46 which stopped being used in
r234178.
Approved by: cperciva
MFC after: 3 days
Diffstat (limited to 'sbin/growfs')
-rw-r--r-- | sbin/growfs/growfs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sbin/growfs/growfs.c b/sbin/growfs/growfs.c index b610bd2..81cafea 100644 --- a/sbin/growfs/growfs.c +++ b/sbin/growfs/growfs.c @@ -803,7 +803,6 @@ updcsloc(time_t modtime, int fsi, int fso, unsigned int Nflag) DBG_FUNC("updcsloc") struct csum *cs; int ocscg, ncscg; - int blocks; ufs2_daddr_t d; int lcs = 0; int block; @@ -820,8 +819,6 @@ updcsloc(time_t modtime, int fsi, int fso, unsigned int Nflag) } ocscg = dtog(&osblock, osblock.fs_csaddr); cs = fscs + ocscg; - blocks = 1 + howmany(sblock.fs_cssize, sblock.fs_bsize) - - howmany(osblock.fs_cssize, osblock.fs_bsize); /* * Read original cylinder group from disk, and make a copy. |