diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2012-01-10 02:59:50 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2012-01-10 02:59:50 +0000 |
commit | eb450775e09669f0200508cac3e53ef6d1545405 (patch) | |
tree | 8a8c5c925405970382996129e358fa112e7bafe8 /sbin/fsck_ffs/gjournal.c | |
parent | 507d0cc96aa05bb5ab251a74e2a1c614b9987550 (diff) | |
download | src-eb450775e09669f0200508cac3e53ef6d1545405.tar.gz src-eb450775e09669f0200508cac3e53ef6d1545405.zip |
Fix warning when compiling with gcc46:
error: variable 'blksfree' set but not used
Reviewed by: pjd
Approved by: dim
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=229918
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 10c32c00c07c..e8ecaf0c1bbf 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. |