From 570e2fcfc0746d70069c90df78ad52c8c48790ec Mon Sep 17 00:00:00 2001 From: eadler Date: Tue, 10 Jan 2012 02:59:50 +0000 Subject: Fix warning when compiling with gcc46: error: variable 'blksfree' set but not used Reviewed by: pjd Approved by: dim MFC after: 3 days --- sbin/fsck_ffs/gjournal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sbin/fsck_ffs/gjournal.c') diff --git a/sbin/fsck_ffs/gjournal.c b/sbin/fsck_ffs/gjournal.c index 10c32c0..e8ecaf0 100644 --- a/sbin/fsck_ffs/gjournal.c +++ b/sbin/fsck_ffs/gjournal.c @@ -399,7 +399,7 @@ gjournal_check(const char *filesys) void *p; struct cgchain *cgc; struct cg *cgp; - uint8_t *inosused, *blksfree; + uint8_t *inosused; ino_t cino, ino; int cg, mode; @@ -438,7 +438,6 @@ gjournal_check(const char *filesys) /* We don't want it to be freed in the meantime. */ busycg(cgc); inosused = cg_inosused(cgp); - blksfree = cg_blksfree(cgp); /* * Now go through the list of all inodes in this cylinder group * to find unreferenced ones. -- cgit v1.1