Date: Sun, 2 Sep 2012 18:28:09 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r240046 - stable/9/sbin/growfs Message-ID: <201209021828.q82IS9e0049337@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Sun Sep 2 18:28:09 2012 New Revision: 240046 URL: http://svn.freebsd.org/changeset/base/240046 Log: MFC r238204: Remove unneeded variable reported by gcc46 which stopped being used in r234178. Approved by: cperciva (implicit) Modified: stable/9/sbin/growfs/growfs.c Directory Properties: stable/9/sbin/growfs/ (props changed) Modified: stable/9/sbin/growfs/growfs.c ============================================================================== --- stable/9/sbin/growfs/growfs.c Sun Sep 2 18:19:41 2012 (r240045) +++ stable/9/sbin/growfs/growfs.c Sun Sep 2 18:28:09 2012 (r240046) @@ -803,7 +803,6 @@ updcsloc(time_t modtime, int fsi, int fs 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 fs } 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209021828.q82IS9e0049337>