mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 19:03:48 +01:00
Fix warning when compiling with gcc46:
error: variable 'blksfree' set but not used Reviewed by: pjd Approved by: dim MFC after: 3 days
This commit is contained in:
parent
507d0cc96a
commit
eb450775e0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=229918
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user