From 6de976fb27965c524719f339df0eb7c5c2576e77 Mon Sep 17 00:00:00 2001 From: eadler Date: Tue, 10 Jan 2012 02:59:09 +0000 Subject: Fix warning when compiling with gcc46: error: variable 'c' set but not used Approved by: dim MFC after: 3 days --- sbin/newfs/mkfs.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sbin') 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) { -- cgit v1.1