Author: eadler (ports committer)
Date: Tue Jan 10 02:59:09 2012
New Revision: 229913
URL: http://svn.freebsd.org/changeset/base/229913
Log:
Fix warning when compiling with gcc46:
error: variable 'c' set but not used
Approved by: dim
MFC after: 3 days
Modified:
head/sbin/newfs/mkfs.c
Modified: head/sbin/newfs/mkfs.c
==============================================================================
--- head/sbin/newfs/mkfs.c Tue Jan 10 02:59:01 2012 (r229912)
+++ head/sbin/newfs/mkfs.c Tue Jan 10 02:59:09 2012 (r229913)
@@ -989,9 +989,7 @@ void
iput(union dinode *ip, ino_t ino)
{
ufs2_daddr_t d;
- int c;
- c = ino_to_cg(&sblock, ino);
bread(&disk, part_ofs + fsbtodb(&sblock, cgtod(&sblock, 0)), (char
*)&acg,
sblock.fs_cgsize);
if (acg.cg_magic != CG_MAGIC) {
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"