diff options
author | eadler <eadler@FreeBSD.org> | 2012-01-10 02:59:09 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-01-10 02:59:09 +0000 |
commit | 6de976fb27965c524719f339df0eb7c5c2576e77 (patch) | |
tree | 0eae6747a1172f343d358364b2c6b27654edfaf8 /sbin/newfs | |
parent | aec8c8d4cc80daa9451606ba6f69e52526c2399b (diff) | |
download | FreeBSD-src-6de976fb27965c524719f339df0eb7c5c2576e77.zip FreeBSD-src-6de976fb27965c524719f339df0eb7c5c2576e77.tar.gz |
Fix warning when compiling with gcc46:
error: variable 'c' set but not used
Approved by: dim
MFC after: 3 days
Diffstat (limited to 'sbin/newfs')
-rw-r--r-- | sbin/newfs/mkfs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sbin/newfs/mkfs.c b/sbin/newfs/mkfs.c index c40026a..5e2a579 100644 --- a/sbin/newfs/mkfs.c +++ b/sbin/newfs/mkfs.c @@ -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) { |