diff options
author | eadler <eadler@FreeBSD.org> | 2012-01-10 02:59:50 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-01-10 02:59:50 +0000 |
commit | 570e2fcfc0746d70069c90df78ad52c8c48790ec (patch) | |
tree | 8a8c5c925405970382996129e358fa112e7bafe8 /sbin/fsck_ffs/gjournal.c | |
parent | 245ae3ece216d1cc66d5a48097c8eca27a3ddc1d (diff) | |
download | FreeBSD-src-570e2fcfc0746d70069c90df78ad52c8c48790ec.zip FreeBSD-src-570e2fcfc0746d70069c90df78ad52c8c48790ec.tar.gz |
Fix warning when compiling with gcc46:
error: variable 'blksfree' set but not used
Reviewed by: pjd
Approved by: dim
MFC after: 3 days
Diffstat (limited to 'sbin/fsck_ffs/gjournal.c')
-rw-r--r-- | sbin/fsck_ffs/gjournal.c | 3 |
1 files changed, 1 insertions, 2 deletions
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. |